ADVISORIES

GitHub Advisory Database

GHSA-rhx4-hvx9-j387

Silverstripe Framework has a XSS vulnerability in HTML editor

Moderate CVE-2025-30148

Details

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

Affected packages

EcosystemPackageAffected versions
Packagistsilverstripe/framework
All versions before 5.3.23 (fixed in 5.3.23)

References