CVE-2022-31889 Cross-site scripting in n/a

Medium 6.1 Published Updated

Attackers can inject malicious scripts into the audit logs template, potentially compromising user sessions or data in osTicket installations.

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-31889?

CVE-2022-31889 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Apr 2023. 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

Cross Site Scripting (XSS) vulnerability in audit/templates/auditlogs.tmpl.php in osTicket osTicket-plugins before commit a7842d494889fd5533d13deb3c6a7789768795ae.

Weakness: CWE-79

Which versions are affected by CVE-2022-31889?

It affects 1 product.

Products include Enhancesoft Audit Log.

How do I fix CVE-2022-31889?

No fix has been published for CVE-2022-31889 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-31889 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31889 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-5wx7-h6ww-mx8h.

Is CVE-2022-31889 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free