CVE-2019-4040 Cross-site scripting in i
An attacker can inject JavaScript into the IBM i Web UI to steal credentials from trusted sessions.
- 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-2019-4040?
CVE-2019-4040 is a medium-severity cross-site scripting vulnerability in Ibm I, published on 31 Jan 2019. 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 and 7.3 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: 156164.
Weakness: CWE-79
Which versions are affected by CVE-2019-4040?
It affects 1 product.
Products include Ibm I.
How do I fix CVE-2019-4040?
No fix has been published for CVE-2019-4040 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-2019-4040 being exploited?
There is no known exploitation of CVE-2019-4040 in the wild and no public exploit code.
Other vulnerabilities in Ibm I
- CVE-2026-96119 IBM i is Affected By An Improper Control of Code Generation Vulnerability in HTTP Server Administration GUI
- CVE-2026-16860 IBM i is Affected By Remote Code Execution Vulnerability []
- CVE-2026-17083 IBM i is Affected By Multiple Vulnerabilities in the Debug Server
- CVE-2026-17218 IBM i is Affected By Remote Code Execution Vulnerability in Line Printer Daemon []
- CVE-2026-17276 IBM i is Affected By Multiple Vulnerabilities in Navigator for i
Sources
Also known as GHSA-j5cf-mgq3-96p5.