Silverstripe Framework has a XSS in form messages
Date: 2025-01
Affected: composer/silverstripe/framework
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2024-53277
CWE: CWE-79
CVSS: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N)

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. ### References - https://www.silverstripe.org/download/security-releases/cve-2024-53277 ## Reported by Leo Diamat from [Bastion Security Group](http://www.bastionsecurity.co.nz/)


Mitigations:

Architectural layers (MAESTRO):