{"id":"CVE-2024-53277","published":"2025-01-14T22:45:07Z","modified":"2025-01-15T14:52:21Z","title":"Cross-site Scripting in form messages in silverstripe framework","vendor":"silverstripe","product":"silverstripe-framework","tier":"tail","description":{"text":"Silverstripe Framework is a PHP framework which powers the Silverstripe CMS. In some cases, form messages can contain HTML markup. This is an intentional feature, allowing links and other relevant HTML markup for the given message. Some form messages include content that the user can provide. There are scenarios in the CMS where that content doesn't get correctly sanitised prior to being included in the form message, resulting in an XSS vulnerability. This issue has been addressed in silverstripe/framework version 5.3.8 and users are advised to upgrade. There are no known workarounds for this vulnerability.","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.00326,"percentile":0.26297,"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-ff6q-3c9c-6cf5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/74904f539347b7d1f8c5b5fb9e28d62ff251ee00","tags":["x_refsource_MISC"]},{"url":"https://www.silverstripe.org/download/security-releases/cve-2024-53277","tags":["x_refsource_MISC"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":5.26},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"silverstripe","affectedVersions":[{"vendor":"silverstripe","product":"silverstripe-framework","versions":["< 5.3.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-15T14:52:17.681845Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"silverstripe/framework","vulnerableRanges":["<5.3.8"],"patched":["5.3.8"],"from":["GHSA-ff6q-3c9c-6cf5"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw exists in the form message handling of silverstripe-framework, the PHP framework that powers the Silverstripe CMS, where user-supplied content included in some form messages is not properly sanitised. An attacker with low-privilege authenticated access and network reachability can inject script into those messages, and the injected content executes in a victim's browser when they interact with the affected page without any action required on their part beyond viewing it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:35Z"},"euvd":{"id":"EUVD-2025-0082","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-silverstripe-framework-cve-2024-32981","parents":[{"from":"CVE-2024-32981","to":"CVE-2024-53277","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:silverstripe/framework","fromFixed":"5.2.16","toFixed":"5.3.8","daysApart":181},{"kind":"same-code","provenance":"machine","files":["src/Forms/HTMLEditor/HTMLEditorSanitiser.php"],"commits":["https://github.com/silverstripe/silverstripe-framework/commit/b8d20dc9d531550e06fd7da7a0eafa551922e2e1","https://github.com/silverstripe/silverstripe-framework/commit/74904f539347b7d1f8c5b5fb9e28d62ff251ee00"],"basis":"shared function","functions":["sanitise"]}]}],"children":[{"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-2023-48714","published":"2024-01-23","fixed":"5.1.11","kev":false},{"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}],"package":"Packagist:silverstripe/framework"}}