CVE-2022-0945
PHP vulnerability analysis and mitigation

Overview

A stored Cross-Site Scripting (XSS) vulnerability was discovered in star7th/showdoc prior to version v2.10.4, specifically related to axd and cshtml file upload functionality. The vulnerability was assigned CVE-2022-0945 and was disclosed on March 15, 2022 (NVD).

Technical details

The vulnerability received varying severity scores from different sources. The National Vulnerability Database (NVD) assigned it a CVSS v3.1 base score of 5.4 (MEDIUM) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, while huntr.dev rated it as CRITICAL with a CVSS 3.0 base score of 9.0. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-434 (Unrestricted Upload of File with Dangerous Type) (NVD).

Impact

The vulnerability allows attackers to perform stored cross-site scripting attacks through file upload functionality, potentially leading to unauthorized access to sensitive information and manipulation of web content (NVD).

Mitigation and workarounds

The vulnerability was patched in showdoc version 2.10.4. The fix includes additional file extension restrictions for axd and cshtml files in the AttachmentModel class (GitHub Patch).

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-2025-65854CRITICAL9.8
  • PHPPHP
  • mineadmin/mineadmin
NoNoDec 12, 2025
CVE-2024-58303HIGH8.6
  • PHPPHP
  • fof/pretty-mail
NoNoDec 11, 2025
CVE-2025-67719HIGH8.5
  • PHPPHP
  • ibexa/user
NoYesDec 11, 2025
CVE-2025-67648HIGH7.1
  • PHPPHP
  • shopware/shopware
NoYesDec 11, 2025
CVE-2025-67737LOW3.1
  • PHPPHP
  • azuracast/azuracast
NoYesDec 12, 2025

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