Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. buttercms
  4. ›
  5. CVE-2022-27260

CVE-2022-27260: Unrestricted Upload of File with Dangerous Type

April 12, 2022 (updated July 28, 2022)

An arbitrary file upload vulnerability in the file upload component of ButterCMS v1.2.8 allows attackers to execute arbitrary code via a crafted SVG file.

References

  • github.com/ButterCMS/buttercms-js
  • github.com/advisories/GHSA-3v5x-qjrp-q2hq
  • nvd.nist.gov/vuln/detail/CVE-2022-27260
  • www.youtube.com/watch?v=Tw8OhtVd-mE

Code Behaviors & Features

Detect and mitigate CVE-2022-27260 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 1.2.8

Fixed versions

  • 1.2.9

Solution

Upgrade to version 1.2.9 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

npm/buttercms/CVE-2022-27260.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.