{"id":"CVE-2025-30148","published":"2025-04-10T13:02:22Z","modified":"2025-04-10T13:34:14Z","title":"Silverstripe Framework has a XSS vulnerability in HTML editor","vendor":"silverstripe","product":"silverstripe-framework","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00298,"percentile":0.22984,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-rhx4-hvx9-j387","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/e99cfd62d160d145a76fcf9631e6b11226e42358","tags":["x_refsource_MISC"]},{"url":"https://www.silverstripe.org/download/security-releases/cve-2025-30148","tags":["x_refsource_MISC"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":4.6},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"silverstripe","affectedVersions":[{"vendor":"silverstripe","product":"silverstripe-framework","versions":["< 5.3.23"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-10T13:34:01.603624Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"silverstripe/framework","vulnerableRanges":["<5.3.23"],"patched":["5.3.23"],"from":["GHSA-rhx4-hvx9-j387"],"provenance":"source"}],"summary":{"text":"The silverstripe-framework component of the Silverstripe Framework, which underpins the Silverstripe CMS, fails to neutralise input in its HTML editor, allowing cross-site scripting. An attacker with low-privilege authenticated access to edit CMS content, and no user interaction required, can send a specially crafted encoded payload that bypasses server-side sanitisation (which lacks the check that client-side sanitisation performs) and injects JavaScript into the site's front end, with a network-reachable attack path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:27Z"},"euvd":{"id":"EUVD-2025-10684","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-silverstripe-framework-cve-2024-32981","parents":[{"from":"CVE-2024-53277","to":"CVE-2025-30148","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:silverstripe/framework","fromFixed":"5.3.8","toFixed":"5.3.23","daysApart":86},{"kind":"same-code","provenance":"machine","files":["src/Core/XssSanitiser.php"],"commits":["https://github.com/silverstripe/silverstripe-framework/commit/74904f539347b7d1f8c5b5fb9e28d62ff251ee00","https://github.com/silverstripe/silverstripe-framework/commit/e99cfd62d160d145a76fcf9631e6b11226e42358"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-32981","published":"2024-07-17","fixed":"5.2.16","kev":false},{"cve":"CVE-2024-47605","published":"2025-01-14","fixed":"5.3.8","kev":false},{"cve":"CVE-2024-53277","published":"2025-01-14","fixed":"5.3.8","kev":false},{"cve":"CVE-2025-30148","published":"2025-04-10","fixed":"5.3.23","kev":false},{"cve":"CVE-2026-54720","published":"2026-07-01","fixed":"6.2.2","kev":false},{"cve":"CVE-2026-88987","published":"2026-11-16","fixed":"6.2.13","kev":false},{"cve":"CVE-2026-88988","published":"2026-11-16","fixed":"6.2.13","kev":false}],"package":"Packagist:silverstripe/framework"}}