CVE-2022-2065
PHP vulnerability analysis and mitigation

Overview

CVE-2022-2065 is a Stored Cross-site Scripting (XSS) vulnerability discovered in GitHub repository neorazorx/facturascripts versions prior to 2022.06. The vulnerability was identified and reported on June 13, 2022 (CVE Mitre).

Technical details

The vulnerability is classified as a Stored Cross-site Scripting (XSS) issue that affects the SVG file handling functionality in the FacturaScripts application. The security flaw was present in the file handling mechanism where SVG files could be uploaded and displayed without proper security controls (GitHub Commit).

Impact

A successful exploitation of this vulnerability could allow attackers to execute malicious JavaScript code in the context of other users' browsers through stored SVG files, potentially leading to session hijacking, data theft, or other client-side attacks (Huntr).

Mitigation and workarounds

The vulnerability has been patched in version 2022.06 of FacturaScripts. The fix involves forcing SVG files to be downloaded rather than displayed inline, preventing potential XSS attacks. This was implemented by adding a Content-Disposition header for SVG files (GitHub Commit).

Additional resources


SourceThis report was generated using AI

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