GitHub Advisoryadvisory · Packagist
GHSA-rhx4-hvx9-j387 Silverstripe Framework has a XSS vulnerability in HTML editor
MEDIUM
Official page ↗
- Aliases
- CVE-2025-30148
- 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
- 2025-04-10
Affected packages
• Packagist silverstripe/framework: < 5.3.23 → fixed in 5.3.23
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 attack.
Reported by
James Nicoll from Fujitsu Cyber
References
• https://www.silverstripe.org/download/security-releases/cve-2025-30148
Related
Alias · CVE (1)
- CVE-2025-30148 Silverstripe Framework is a PHP framework which powers the Silverstripe CMS. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-rhx4-hvx9-j387 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-30148 advisory
- https://github.com/silverstripe/silverstripe-framework/pull/11682 web
- https://github.com/silverstripe/silverstripe-framework/commit/e99cfd62d160d145a76fcf9631e6b11226e42358 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2025-30148.yaml web
- https://github.com/silverstripe/silverstripe-framework package
- https://www.silverstripe.org/download/security-releases/cve-2025-30148 web