CVE-2021-21442 XSS vulnerability in Time Accounting

Medium 4.5 Published Updated

Attackers can inject malicious JavaScript into project fields, leading to code execution in the reporting screen for OTRS Time Accounting users.

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-2021-21442?

CVE-2021-21442 is a medium-severity cross-site scripting vulnerability in OTRS AG Time Accounting, published on 26 Jul 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

In the project create screen it's possible to inject malicious JS code to the certain fields. The code might be executed in the Reporting screen. This issue affects: OTRS AG Time Accounting: 7.0.x versions prior to 7.0.19.

Weakness: CWE-79

Which versions are affected by CVE-2021-21442?

It affects 1 product.

Products include Otrs Time Accounting.

How do I fix CVE-2021-21442?

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

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

Sources

Also known as GHSA-95r5-www7-mhrx.

Is CVE-2021-21442 in your software?

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

Check your SBOMs for free