{"id":"CVE-2025-30148","aliases":["CVE-2025-30148","GHSA-rhx4-hvx9-j387"],"related":[],"kind":"vulnerability","state":"published","title":"Silverstripe Framework has a XSS vulnerability in HTML editor","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA 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.\n\nThe server-side sanitisation logic has been updated to sanitise against this attack.\n\n### Reported by\n\nJames Nicoll from Fujitsu Cyber\n\n### References\n\n- https://www.silverstripe.org/download/security-releases/cve-2025-30148","format":"markdown","source":"ghsa"},{"lang":"es","text":"Silverstripe Framework es un marco PHP que impulsa el CMS Silverstripe. Antes de la versión 5.3.23, un actor malicioso con acceso para editar contenido en el CMS podía enviar un paylaod codificado manipulado al servidor, que podía usarse para inyectar un payload JavaScript en el front-end del sitio. El payload se depuraría en el lado del cliente, pero la depuración del lado del servidor no la detecta. Se ha actualizado la lógica de depuración del lado del servidor para protegerlo contra este ataque. Esta vulnerabilidad se corrigió en 5.3.23.","source":"nvd"}],"published":"2025-04-10T13:02:22.415Z","modified":"2026-06-17T09:08:15.053Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 5.3.23","status":"affected"}],"vendor":"silverstripe","product":"silverstripe-framework","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.3.23"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"5.3.23"}],"vendor":"silverstripe","product":"framework","cpe":"cpe:2.3:a:silverstripe:framework:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-rhx4-hvx9-j387","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/e99cfd62d160d145a76fcf9631e6b11226e42358","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.silverstripe.org/download/security-releases/cve-2025-30148","tags":["vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30148","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-framework/pull/11682","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2025-30148.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-framework","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-10T13:34:01.603Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-30148","url":"https://www.cve.org/CVERecord?id=CVE-2025-30148","licence":"CVE Terms of Use","modified":"2025-04-10T13:34:14.930Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rhx4-hvx9-j387","url":"https://github.com/advisories/GHSA-rhx4-hvx9-j387","licence":"CC-BY-4.0","modified":"2025-04-10T23:17:08.499Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-30148","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30148","licence":"Public domain","modified":"2026-06-17T09:08:15.053Z"}],"updatedAt":"2026-11-25T22:58:56.377Z","epss":{"score":0.00541,"percentile":0.39061,"date":"2026-11-30T12:00:22.000Z"}}