Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. silverstripe/framework
  4. ›
  5. CVE-2022-25238

CVE-2022-25238: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

June 29, 2022

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.

References

  • forum.silverstripe.org/c/releases
  • github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-25238.yaml
  • github.com/advisories/GHSA-jx34-gqqq-r6gm
  • nvd.nist.gov/vuln/detail/CVE-2022-25238
  • www.silverstripe.org/blog/tag/release
  • www.silverstripe.org/download/security-releases/
  • www.silverstripe.org/download/security-releases/cve-2022-25238

Code Behaviors & Features

Detect and mitigate CVE-2022-25238 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0 before 4.10.9

Fixed versions

  • 4.10.9

Solution

Upgrade to version 4.10.9 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/silverstripe/framework/CVE-2022-25238.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:59 +0000.