Vulnerability · Published Jan 14, 2025 · Assigned by GitHub_M
CVE-2024-53277Cross-site Scripting in form messages in silverstripe framework
Medium 5.4
In plain English
A medium-severity cross-site scripting in silverstripe-framework from silverstripe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | silverstripe/framework | 5.3.8 | GHSA-ff6q-3c9c-6cf5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| silverstripe | silverstripe-framework | < 5.3.8 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-ff6q-3c9c-6cf5 x_refsource_CONFIRM
- https://github.com/silverstripe/silverstripe-framework/commit/74904f539347b7d1f8c5b5fb9e28d62ff251ee00 x_refsource_MISC
- https://www.silverstripe.org/download/security-releases/cve-2024-53277 x_refsource_MISC