CVE-2022-50896
Description
Testa 3.5.1 contains a reflected cross-site scripting vulnerability in the login.php redirect parameter that allows attackers to inject malicious scripts. Attackers can craft a specially encoded payload in the redirect parameter to execute arbitrary JavaScript in victim's browser context.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Testa 3.5.1 online test management system has a reflected XSS in login.php's redirect parameter, allowing attackers to execute arbitrary JavaScript.
Vulnerability
Testa 3.5.1 contains a reflected cross-site scripting (XSS) vulnerability in the login.php script. The redirect parameter is not properly sanitized, allowing an attacker to inject arbitrary JavaScript via a specially crafted URL [2]. The payload can be URL-encoded to bypass basic filters [3].
Exploitation
The attack vector is network-based, requiring no authentication, but user interaction is necessary—the victim must click a malicious link. The vulnerability is classified as CWE-79 and has a CVSS v4 score of 6.1 (medium severity) [2]. Proof-of-concept code is publicly available, demonstrating the injection via the redirect parameter [3].
Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser. This can lead to session hijacking, defacement, or theft of sensitive information displayed on the page. The attacker does not gain access to server-side resources but can compromise user sessions.
Mitigation
As of the advisory, version 3.5.1 is affected. No patch has been confirmed. Users should consider input validation and output encoding for the redirect parameter, or upgrade if a newer version becomes available. The vendor homepage is at testa.cc [1].
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3News mentions
0No linked articles in our index yet.