CVE-2022-50896 Testa 3.5.1 Online Test Management System - Reflected Cross-Site Scripting (XSS)
Attackers can inject malicious JavaScript via the login redirect parameter, allowing arbitrary script execution in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-50896?
CVE-2022-50896 is a medium-severity cross-site scripting vulnerability in Testa, published on 13 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2022-50896?
How do I fix CVE-2022-50896?
No fix has been published for CVE-2022-50896 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-50896 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-50896 exists.
Sources
Also known as GHSA-j8c8-7496-m39v.