{"id":"CVE-2022-25238","aliases":["CVE-2022-25238","GHSA-jx34-gqqq-r6gm"],"related":[],"kind":"vulnerability","state":"published","title":"Stored XSS via HTML fields in SilverStripe Framework","summary":"Silverstripe silverstripe/framework through 4.10.0 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Silverstripe silverstripe/framework through 4.10.0 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","source":"cvelist"},{"lang":"en","text":"SilverStripe Framework through 4.10.8 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Silverstripe silverstripe/framework versiones hasta 4.10.0, permite un ataque de tipo XSS, dentro de las etiquetas de script que pueden ser añadidas al contenido del sitio web por medio de XHR por un usuario autenticado del CMS si el módulo cwp-core no está instalado en el contig sanitise_server_side no está establecido a true en el código del proyecto","source":"nvd"}],"published":"2022-06-28T21:39:48.000Z","modified":"2026-06-17T04:33:15.550Z","severity":{"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"},"severities":[{"scorer":"GitHub","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"},{"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"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.10.9"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"4.10.0"}],"vendor":"silverstripe","product":"framework","cpe":"cpe:2.3:a:silverstripe:framework:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.silverstripe.org/download/security-releases/","tags":["not-applicable","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.silverstripe.org/blog/tag/release","tags":["release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://forum.silverstripe.org/c/releases","tags":["release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://docs.silverstripe.org/en/4/changelogs/4.10.1/","tags":["broken-link","release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25238","tags":["advisory"],"sources":["ghsa"]},{"url":"https://docs.silverstripe.org/en/4/changelogs/4.10.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-25238.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://www.silverstripe.org/download/security-releases","tags":["web"],"sources":["ghsa"]},{"url":"https://www.silverstripe.org/download/security-releases/cve-2022-25238","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25238","url":"https://www.cve.org/CVERecord?id=CVE-2022-25238","licence":"CVE Terms of Use","modified":"2024-08-03T04:36:06.421Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jx34-gqqq-r6gm","url":"https://github.com/advisories/GHSA-jx34-gqqq-r6gm","licence":"CC-BY-4.0","modified":"2024-02-21T05:32:08.922Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25238","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25238","licence":"Public domain","modified":"2026-06-17T04:33:15.550Z"}],"updatedAt":"2026-11-25T22:58:12.620Z","epss":{"score":0.00718,"percentile":0.55074,"date":"2026-12-01T12:00:22.000Z"}}