# CVE-2022-25238: Stored XSS via HTML fields in SilverStripe Framework

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/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
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2022-06-28T21:39:48.000Z
- Modified: 2026-06-17T04:33:15.550Z
- Also known as: GHSA-jx34-gqqq-r6gm
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- silverstripe/framework (Packagist): from 4.0.0 before 4.10.9
- silverstripe framework: up to 4.10.0

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.silverstripe.org/download/security-releases/> (not-applicable, vendor-advisory)
- <https://www.silverstripe.org/blog/tag/release> (release-notes, vendor-advisory, web)
- <https://forum.silverstripe.org/c/releases> (release-notes, vendor-advisory, web)
- <https://docs.silverstripe.org/en/4/changelogs/4.10.1/> (broken-link, release-notes, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25238> (advisory)
- <https://docs.silverstripe.org/en/4/changelogs/4.10.1> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-25238.yaml> (web)
- <https://www.silverstripe.org/download/security-releases> (web)
- <https://www.silverstripe.org/download/security-releases/cve-2022-25238> (web)

## Sources

- CVE List: [CVE-2022-25238](https://www.cve.org/CVERecord?id=CVE-2022-25238), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-jx34-gqqq-r6gm](https://github.com/advisories/GHSA-jx34-gqqq-r6gm), CC-BY-4.0, modified 2024-02-21
- NVD: [CVE-2022-25238](https://nvd.nist.gov/vuln/detail/CVE-2022-25238), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25238 · Whole record: https://cve.day/CVE-2022-25238.json · Rebuilt by cve.day 2026-11-25T22:58:12.620Z
