# CVE-2022-38145: Stored XSS in Compare Mode

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `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.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2022-11-22T00:00:16.000Z
- Modified: 2026-06-17T04:56:11.237Z
- Also known as: GHSA-66jf-xm2m-7m8r
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

Silverstripe silverstripe/framework through 4.11 allows XSS (issue 1 of 3) via remote attackers adding a Javascript payload to a page's meta description and get it executed in the versioned history compare view.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- silverstripe/versioned-admin (Packagist): from 1.0.0 before 1.11.1
- silverstripe framework: from 1.0.0 before 1.11.1

## Every score

- CISA-ADP: 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`
- 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`

## References

- <https://www.silverstripe.org/download/security-releases/> (vendor-advisory)
- <https://www.silverstripe.org/blog/tag/release> (patch, vendor-advisory, web)
- <https://forum.silverstripe.org/c/releases> (release-notes, vendor-advisory, web)
- <https://www.silverstripe.org/download/security-releases/CVE-2022-38145> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-38145> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/versioned-admin/CVE-2022-38145.yaml> (web)
- <https://www.silverstripe.org/download/security-releases> (web)
- <https://www.silverstripe.org/download/security-releases/cve-2022-38145> (web)

## Sources

- CVE List: [CVE-2022-38145](https://www.cve.org/CVERecord?id=CVE-2022-38145), CVE Terms of Use, modified 2025-04-25
- GitHub Advisory Database: [GHSA-66jf-xm2m-7m8r](https://github.com/advisories/GHSA-66jf-xm2m-7m8r), CC-BY-4.0, modified 2024-02-20
- NVD: [CVE-2022-38145](https://nvd.nist.gov/vuln/detail/CVE-2022-38145), Public domain, modified 2026-06-17

---

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