CVE-2023-5421 Possible XSS execution in customer information

Low 3.5 Published Updated

Authenticated users can execute JavaScript via CustomerID field if autocomplete is enabled, potentially leading to session hijacking or data theft.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-5421?

CVE-2023-5421 is a low-severity cross-site scripting vulnerability in Otrs Otrs, published on 16 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An attacker who is logged into OTRS as an user with privileges to create and change customer user data may manipulate the CustomerID field to execute JavaScript code that runs immediatly after the data is saved.The issue onlyoccurs if the configuration for AdminCustomerUser::UseAutoComplete was changed before. This issue affects OTRS: from 7.0.X before 7.0.47, from 8.0.X before 8.0.37; ((OTRS)) Community Edition: from 6.0.X through 6.0.34.

Weakness: CWE-79, CWE-20

Which versions are affected by CVE-2023-5421?

It affects 1 product.

Products include Otrs Otrs.

How do I fix CVE-2023-5421?

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

There is no known exploitation of CVE-2023-5421 in the wild and no public exploit code.

All Otrs Otrs vulnerabilities

Sources

Also known as GHSA-hqj4-p6qw-7mf2, UBUNTU-CVE-2023-5421.

Is CVE-2023-5421 in your software?

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

Check your SBOMs for free