CVE-2021-38876 Cross-site scripting in i

Medium 6.1 Published Updated

Attackers can inject JavaScript into the IBM i Web UI to steal credentials from trusted sessions, requiring users to apply vendor patches.

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

CVE-2021-38876 is a medium-severity cross-site scripting vulnerability in Ibm I, published on 30 Dec 2021. 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

IBM i 7.2, 7.3, and 7.4 is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session. IBM X-Force ID: 208404.

Weakness: CWE-79

Which versions are affected by CVE-2021-38876?

It affects 1 product.

Products include Ibm I.

How do I fix CVE-2021-38876?

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

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

All Ibm I vulnerabilities

Sources

Also known as GHSA-prpw-q7c7-2pvj.

Is CVE-2021-38876 in your software?

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

Check your SBOMs for free