CVE-2025-42938 Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver ABAP Platform
An unauthenticated attacker can inject malicious scripts via a link, allowing them to read or modify victim data in the browser.
- 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-42938?
CVE-2025-42938 is a medium-severity cross-site scripting vulnerability in SAP_SE SAP NetWeaver ABAP Platform, published on 9 Sep 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
Due to a Cross-Site Scripting (XSS) vulnerability in the SAP NetWeaver ABAP Platform, an unauthenticated attacker could generate a malicious link and make it publicly accessible. If an authenticated user clicks on this link, the injected input is processed during the website�s page generation, resulting in the creation of malicious content. When executed, this content allows the attacker to access or modify information within the victim's browser scope, impacting the confidentiality and integrity�while availability remains unaffected.
Weakness: CWE-79
Which versions are affected by CVE-2025-42938?
How do I fix CVE-2025-42938?
No fix has been published for CVE-2025-42938 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-42938 being exploited?
There is no known exploitation of CVE-2025-42938 in the wild and no public exploit code.
Sources
Also known as GHSA-p998-5836-vf4f.