GitHub Advisoryadvisory · Packagist

GHSA-chx7-9x8h-r5mg Silverstripe Framework has a Cross-site Scripting vulnerability with encoded payload

MEDIUM Published 2024-07-17 Modified 2025-09-04 Official page ↗
Aliases
CVE-2024-32981
Ecosystem
Packagist
Packages
silverstripe/framework
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2024-07-17

Affected packages

• Packagist silverstripe/framework: < 5.2.16 → fixed in 5.2.16

Description

Impact 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 • https://www.silverstripe.org/download/security-releases/cve-2024-32981

Related

Alias · CVE (1)

  • CVE-2024-32981 Silverstripe framework is the PHP framework forming the base for the Silverstripe CMS. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References