---
id: CVE-2022-27260
title: >-
  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.
summary: >-
  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.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-434
vendor: buttercms
product: buttercms
affected:
  - buttercms = 1.2.8
published: '2022-04-12'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-27260'
references:
  - url: 'https://github.com/ButterCMS/buttercms-js'
    label: cve@mitre.org
  - url: 'https://share.getcloudapp.com/nOuR70WB'
    label: cve@mitre.org
  - url: 'https://www.youtube.com/watch?v=Tw8OhtVd-mE'
    label: cve@mitre.org
  - url: 'http://buttercms.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/ButterCMS/buttercms-js'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://share.getcloudapp.com/nOuR70WB'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.youtube.com/watch?v=Tw8OhtVd-mE'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.03137
epssPercentile: 0.87355
ingestedAt: '2026-07-06T17:03:24.152Z'
---

## Overview

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.

## Affected

- `buttercms = 1.2.8`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
