Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. statamic/cms
  4. ›
  5. CVE-2023-36828

CVE-2023-36828: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

July 6, 2023

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.

References

  • github.com/advisories/GHSA-6r5g-cq4q-327g
  • github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php
  • github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php
  • github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d
  • github.com/statamic/cms/pull/8408
  • github.com/statamic/cms/releases/tag/v4.10.0
  • github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g
  • nvd.nist.gov/vuln/detail/CVE-2023-36828

Code Behaviors & Features

Detect and mitigate CVE-2023-36828 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.10.0

Fixed versions

  • 4.10.0

Solution

Upgrade to version 4.10.0 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/statamic/cms/CVE-2023-36828.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:41 +0000.