CVE-2025-42945 HTML Injection vulnerability in SAP NetWeaver Application Server ABAP
Attackers can inject malicious scripts via crafted URLs to steal or modify data from users with active sessions in SAP NetWeaver ABAP.
- 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-2025-42945?
CVE-2025-42945 is a medium-severity cross-site scripting vulnerability in SAP_SE SAP NetWeaver Application Server ABAP, published on 12 Aug 2025. 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
SAP NetWeaver Application Server ABAP has HTML injection vulnerability. Due to this, an attacker could craft a URL with malicious script as payload and trick a victim with active user session into executing it. Upon successful exploit, this vulnerability could lead to limited access to data or its manipulation. There is no impact on availability.
Weakness: CWE-94
Which versions are affected by CVE-2025-42945?
How do I fix CVE-2025-42945?
No fix has been published for CVE-2025-42945 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-2025-42945 being exploited?
There is no known exploitation of CVE-2025-42945 in the wild and no public exploit code.
Sources
Also known as GHSA-hw7q-cg9q-v7xj.