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

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.39%, higher than 85% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-04-12T16:29:00.000Z
- Modified: 2026-07-09T01:17:23.400Z
- Also known as: GHSA-3v5x-qjrp-q2hq
- Weaknesses: CWE-434
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- buttercms (npm): up to 1.2.8
- buttercms buttercms: 1.2.8

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.youtube.com/watch?v=Tw8OhtVd-mE> (exploit, third-party-advisory, web)
- <https://share.getcloudapp.com/nOuR70WB> (exploit, third-party-advisory)
- <https://github.com/ButterCMS/buttercms-js> (package, product, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-27260> (advisory)

## Sources

- CVE List: [CVE-2022-27260](https://www.cve.org/CVERecord?id=CVE-2022-27260), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-3v5x-qjrp-q2hq](https://github.com/advisories/GHSA-3v5x-qjrp-q2hq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-27260](https://nvd.nist.gov/vuln/detail/CVE-2022-27260), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2022-27260 · Whole record: https://cve.day/CVE-2022-27260.json · Rebuilt by cve.day 2026-11-25T22:58:10.578Z
