CVE-2022-31906 Cross-site scripting in n/a
An attacker can inject malicious scripts into the Online Fire Reporting System via the Master.php file, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-31906?
CVE-2022-31906 is a medium-severity cross-site scripting vulnerability in n/a, published on 16 Jun 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Online Fire Reporting System v1.0 is vulnerable to Cross Site Scripting (XSS) via /ofrs/classes/Master.php.
Weakness: CWE-79
Which versions are affected by CVE-2022-31906?
It affects 1 product.
Products include Online Fire Reporting System Project Online Fire Reporting System.
How do I fix CVE-2022-31906?
No fix has been published for CVE-2022-31906 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-31906 being exploited?
There is no known exploitation of CVE-2022-31906 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-wmrj-cx86-3832.