# GHSA-j982-5jv7-v43r: Silverstripe Form field validation message XSS vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-23T18:07:48.000Z
- Modified: 2024-11-28T05:26:01.975Z
- Weaknesses: CWE-79

## Description

A high level XSS risk has been identified in the encoding of validation messages in certain FormField classes.

Certain fields such as the NumericField and DropdownField have been identified, but any form field which presents any invalid content as a part of its validation response will be at risk.

(As written by GitHub Advisory Database.)

## Affected

- silverstripe/framework (Packagist): from 3.0.0 before 3.1.16; from 3.2.0 before 3.2.1

## References

- <https://github.com/silverstripe/silverstripe-framework/commit/245e0aae2f5f3eb0acba1d198ad8e196bb224462> (web)
- <https://github.com/silverstripe/silverstripe-framework/commit/bc1b2893accba6401c03f9ea3b0cbc4621c7a02c> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-026-1.yaml> (web)
- <https://github.com/silverstripe/silverstripe-framework> (package)
- <https://www.silverstripe.org/download/security-releases/ss-2015-026> (web)

## Sources

- GitHub Advisory Database: [GHSA-j982-5jv7-v43r](https://github.com/advisories/GHSA-j982-5jv7-v43r), CC-BY-4.0, modified 2024-11-28

---

Page: https://cve.day/GHSA-j982-5jv7-v43r · Whole record: https://cve.day/GHSA-j982-5jv7-v43r.json · Rebuilt by cve.day 2026-11-25T22:56:32.409Z
