VYPR
Unrated severityNVD Advisory· Published Nov 11, 2022· Updated Apr 15, 2025

SourceCodester Sanitization Management System cross site scripting

CVE-2022-3942

Description

A vulnerability was found in SourceCodester Sanitization Management System and classified as problematic. This issue affects some unknown processing of the file php-sms/?p=request_quote. The manipulation leads to cross site scripting. The attack may be initiated remotely. The identifier VDB-213449 was assigned to this vulnerability.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

SourceCodester Sanitization Management System through 2022-11-11 has a reflected XSS in /php-sms/?p=request_quote.

Vulnerability

A cross-site scripting (XSS) vulnerability exists in SourceCodester Sanitization Management System (php-sms). The flaw affects the file php-sms/?p=request_quote. An attacker can inject arbitrary JavaScript code into the application, which then executes in the browser of a user visiting the crafted URL. The exact version range is not specified in the available references, but the product is reported as vulnerable as of the publication date [2022-11-11] [1].

Exploitation

An attacker can trigger this vulnerability remotely without requiring authentication. The attack is initiated by crafting a URL containing malicious script code in the p parameter (or related parameters) of the request_quote endpoint. No user interaction beyond visiting the crafted link is needed for the payload to execute in the victim's browser [1].

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's session on the affected site. This can lead to theft of session cookies, modification of page content, or redirection to malicious sites. The impact is limited to the browser of the targeted user; server-side code is not directly compromised [1].

Mitigation

No official fix from SourceCodester has been released as of the publication date. A workaround is to sanitize and validate user input for the request_quote page, and to enforce Content Security Policy (CSP) headers. Users should restrict access to the application or apply a web application firewall (WAF) rule to block malicious query strings. Not yet listed on CISA KEV.

References
  1. ZDI-22-532

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.