Advisory record · GHSA-6r5g-cq4q-327g

Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG

CVSS 5.5 MediumEPSS 0.0066 · 52nd percentile

Published by the GitHub Advisory Database at 6 Jul 2023, 20:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
statamic/cmsPackagist<4.10.04.10.0
Identifiers
GHSA-6r5g-cq4q-327g · CVE-2023-36828 · PKSA-gfgd-dxd9-46qj
Weakness (CWE)
CWE-79
Published
6 Jul 2023
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Statamic CMS (Packagist package statamic/cms) before version 4.10.0 has an issue where the Antlers svg tag does not sanitize SVG files, so the sanitize modifier does not prevent script in them. An attacker who can upload an SVG through the control panel's file fields, which only block certain script-related extensions, could cause XSS when the file is rendered on a site page. The fix is to upgrade to statamic/cms 4.10.0 or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.5 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0066, the 52nd percentile, on 24 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:04 UTC First seen by agentprime
  2. 31 Oct 2026, 14:04 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.