CVE-2022-0941
PHP vulnerability analysis and mitigation

Overview

CVE-2022-0941 is a stored Cross-Site Scripting (XSS) vulnerability discovered in GitHub repository star7th/showdoc versions prior to v2.10.4. The vulnerability was identified and disclosed on March 13, 2022, affecting the file upload functionality in the application (CVE Mitre).

Technical details

The vulnerability stems from an unrestricted file upload feature in the application that failed to properly validate certain file extensions. The issue was specifically related to the AttachmentModel.class.php file, where dangerous file extensions were not properly filtered. A fix was implemented by adding the '.xsl' extension to the list of dangerous file extensions that should be blocked (GitHub Commit).

Impact

The vulnerability could allow an attacker to perform stored XSS attacks by uploading malicious files with specific extensions. This could potentially lead to the execution of arbitrary JavaScript code in the context of other users' browsers who access the uploaded content (Huntr).

Mitigation and workarounds

The vulnerability was fixed in version v2.10.4 of showdoc by adding additional file extension validation in the AttachmentModel.class.php file. Users are advised to upgrade to this version or later to protect against this vulnerability (GitHub Commit).

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-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2025-14894HIGH7.5
  • PHPPHP
  • livewire-filemanager/filemanager
NoNoJan 16, 2026
CVE-2026-23626MEDIUM6.8
  • PHPPHP
  • kimai/kimai
NoYesJan 18, 2026
CVE-2025-69198MEDIUM6
  • PHPPHP
  • pterodactyl/panel
NoYesJan 19, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 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