CVE-2022-38147
PHP vulnerability analysis and mitigation

Overview

CVE-2022-38147 is a Cross-Site Scripting (XSS) vulnerability affecting Silverstripe framework through version 4.11. The vulnerability was discovered in 2022 and specifically relates to the handling of GPX files in the Silverstripe assets module. The affected component is silverstripe/assets version 1.0.0 and the issue was fixed in version 1.11.1, with the patch being released on November 21, 2022 (Silverstripe Advisory).

Technical details

The vulnerability allows a malicious content author to upload a GPX file containing a JavaScript payload. GPX, being an XML-based format used to store GPS data, could be manipulated to include malicious code. The vulnerability has a CVSS base score of 4.6 (Medium severity) and is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) (NVD).

Impact

When exploited, the vulnerability allows the execution of malicious JavaScript code when a legitimate user views the compromised GPX file in a browser that supports GPX file formats. This could potentially lead to unauthorized actions being performed in the context of the victim's browser session (Silverstripe Advisory).

Mitigation and workarounds

As a security measure, Silverstripe CMS has disabled GPX file uploads by default in the patched version. Organizations can re-enable GPX file support if required, but this comes with inherent risks. It is recommended to search for and remove any existing GPX files in the Files area before applying the patch. The vulnerability is fixed in silverstripe/assets version 1.11.1 (Silverstripe Advisory).

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-23492HIGH8.8
  • PHPPHP
  • pimcore/pimcore
NoYesJan 14, 2026
CVE-2026-23498HIGH7.2
  • PHPPHP
  • shopware/core
NoYesJan 14, 2026
GHSA-595p-g7xc-c333MEDIUM6.9
  • PHPPHP
  • algolia/algoliasearch-magento-2
NoYesJan 14, 2026
CVE-2022-50807MEDIUM6.9
  • PHPPHP
  • concrete5/concrete5
NoNoJan 13, 2026
CVE-2026-0859MEDIUM5.2
  • PHPPHP
  • typo3/cms-core
NoYesJan 13, 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