CVE-2023-31942 Cross-site scripting in n/a

Medium 4.8 Published Updated

A remote attacker can execute arbitrary code via the description parameter in insert.php of the Online Travel Agency System.

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-2023-31942?

CVE-2023-31942 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Aug 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Cross Site Scripting vulnerability found in Online Travel Agency System v.1.0 allows a remote attacker to execute arbitrary code via the description parameter in insert.php.

Weakness: CWE-79

Which versions are affected by CVE-2023-31942?

It affects 1 product.

Products include Online Travel Agency System Project Online Travel Agency System.

How do I fix CVE-2023-31942?

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

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

Sources

Also known as GHSA-5jqm-qx6x-rp6c.

Is CVE-2023-31942 in your software?

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

Check your SBOMs for free