CVE-2022-38145
PHP vulnerability analysis and mitigation

Overview

CVE-2022-38145 is a stored Cross-Site Scripting (XSS) vulnerability affecting Silverstripe versioned-admin module versions prior to 1.11.1. The vulnerability was discovered and disclosed on November 21, 2022. It affects the versioned history compare view functionality in the Silverstripe CMS platform (Silverstripe Security).

Technical details

The vulnerability allows malicious content authors to inject JavaScript payloads through a page's meta description field, which can then be executed when privileged users access the version history comparison view. The vulnerability has been assigned a CVSS base score of 4.6, indicating medium severity. The issue specifically affects the silverstripe/versioned-admin module versions ^1.0.0 (Silverstripe Security).

Impact

The impact of this vulnerability is limited by the fact that it requires an attacker to first have CMS access to deploy the malicious payload. Additionally, successful exploitation requires a privileged user to access the version history for the compromised page. When successfully exploited, the attacker can execute arbitrary JavaScript code in the context of the privileged user's browser session (Silverstripe Security).

Mitigation and workarounds

The vulnerability has been patched in silverstripe/versioned-admin version 1.11.1. Users are advised to upgrade to this version or later to address the issue. The patch can be applied without additional configuration work, as there are no legitimate use cases for the vulnerable behavior. After patching, regression testing should focus on version comparison functionality within the page history tab (Silverstripe Security).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21857HIGH8.3
  • PHPPHP
  • redaxo/source
NoYesJan 07, 2026
CVE-2025-61676MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2025-61674MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2026-21896MEDIUM5.8
  • PHPPHP
  • getkirby/cms
NoYesJan 08, 2026
CVE-2026-22242MEDIUM4.9
  • PHPPHP
  • coreshop/core-shop
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management