CVE-2023-1759
PHP vulnerability analysis and mitigation

Overview

A stored Cross-site Scripting (XSS) vulnerability was discovered in GitHub repository thorsten/phpmyfaq prior to version 3.1.12. The vulnerability was identified and reported on March 31, 2023 (CVE Details).

Technical details

The vulnerability exists due to improper sanitization of user input in multiple PHP files including record.add.php, record.edit.php, and record.save.php. The issue stems from the use of FILTERUNSAFERAW instead of FILTERSANITIZESPECIAL_CHARS for filtering various input parameters (GitHub Commit).

Impact

The vulnerability allows attackers to store and execute malicious JavaScript code that would be executed in the context of other users' browsers who view the affected pages. This could lead to theft of sensitive information, session hijacking, or other client-side attacks.

Mitigation and workarounds

The vulnerability has been fixed in version 3.1.12 by replacing FILTERUNSAFERAW with FILTERSANITIZESPECIAL_CHARS for input sanitization. Users should upgrade to this version or later to protect against this vulnerability (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