Vulnerability · Published Jul 5, 2023 · Assigned by GitHub_M

CVE-2023-36828Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG

Medium 5.5

In plain English

A medium-severity cross-site scripting in cms from statamic. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.7%top 48.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Statamic is a flat-first, Laravel and Git powered content management system. Prior to version 4.10.0, the SVG tag does not sanitize malicious SVG. Therefore, an attacker can exploit this vulnerability to perform cross-site scripting attacks using SVG, even when using the `sanitize` function. Version 4.10.0 contains a patch for this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagiststatamic/cms4.10.0GHSA-6r5g-cq4q-327g

Affected products (as reported)

VendorProductVersions
statamic cms < 4.10.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L

References