{"id":"CVE-2025-30148","summary":"Silverstripe Framework has a XSS vulnerability in HTML editor","details":"Silverstripe Framework is a PHP framework which powers the Silverstripe CMS. Prior to 5.3.23, 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 sanitized on the client-side, but server-side sanitization doesn't catch it. The server-side sanitization logic has been updated to sanitize against this attack. This vulnerability is fixed in 5.3.23.","aliases":["GHSA-rhx4-hvx9-j387"],"modified":"2026-08-12T03:51:38.553990516Z","published":"2025-04-10T13:02:22.415Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30148.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases/cve-2025-30148"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30148.json"},{"type":"ADVISORY","url":"https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-rhx4-hvx9-j387"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30148"},{"type":"FIX","url":"https://github.com/silverstripe/silverstripe-framework/commit/e99cfd62d160d145a76fcf9631e6b11226e42358"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/silverstripe/silverstripe-framework","events":[{"introduced":"0"},{"fixed":"e99cfd62d160d145a76fcf9631e6b11226e42358"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"5.3.23"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:silverstripe:framework:*:*:*:*:*:*:*:*"}}],"versions":["5.3.22","5.3.21","5.3.20","5.3.19","5.3.18","5.3.17","5.3.16","5.3.15","5.3.14","5.3.13","5.3.12","5.3.11","5.3.10","5.3.9","5.3.8","5.3.7","5.3.6","5.3.5","5.3.4","5.3.3","5.3.2","5.3.1","5.3.0","5.3.0-rc1","5.3.0-beta1","5.2.0-beta1","5.1.0-beta1","5.0.0-beta1","5.0.0-alpha1","4.9.0-beta1","4.9.0-alpha1","4.8.0-beta1","4.7.0-beta1","4.6.0-beta1","4.1.0-rc1","4.0.0-beta3","4.0.0-beta2","4.0.0-beta1","4.0.0-alpha7","4.0.0-alpha6","4.0.0-alpha4","4.0.0-alpha3","4.0.0-alpha2","4.0.0-alpha1","3.0.0-rc1","3.0.0-beta3","3.0.0-beta2","3.0.0-beta1","3.0.0-alpha2","3.0.0-alpha1","2.2.2-rc1","2.3.0-rc1","2.2.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-30148.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}