Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. silverstripe/framework
  4. ›
  5. CVE-2024-32981

CVE-2024-32981: Silverstripe Framework has a Cross-site Scripting vulnerability with encoded payload

July 17, 2024 (updated September 4, 2025)

A bad actor with access to edit content in the CMS could send a specifically crafted encoded payload to the server, which could be used to inject a JavaScript payload on the front end of the site. The payload would be sanitised on the client-side, but server-side sanitisation doesn’t catch it.

The server-side sanitisation logic has been updated to sanitise against this type of attack.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2024-32981.yaml
  • github.com/advisories/GHSA-chx7-9x8h-r5mg
  • github.com/silverstripe/silverstripe-framework
  • github.com/silverstripe/silverstripe-framework/commit/b8d20dc9d531550e06fd7da7a0eafa551922e2e1
  • github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-chx7-9x8h-r5mg
  • nvd.nist.gov/vuln/detail/CVE-2024-32981
  • www.silverstripe.org/download/security-releases/cve-2024-32981

Code Behaviors & Features

Detect and mitigate CVE-2024-32981 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 5.2.16

Fixed versions

  • 5.2.16

Solution

Upgrade to version 5.2.16 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

packagist/silverstripe/framework/CVE-2024-32981.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:30 +0000.