CVE-2025-42948 Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver ABAP Platform

Medium 6.1 Published Updated

An unauthenticated attacker can execute malicious scripts in a victim's browser via a crafted link, allowing access to or modification of victim data.

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-42948?

CVE-2025-42948 is a medium-severity cross-site scripting vulnerability in SAP_SE SAP NetWeaver ABAP Platform, 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

Due to a Cross-Site Scripting (XSS) vulnerability in 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 this malicious content gets executed, the attacker could gain the ability to access/modify information within the scope of victim�s browser.

Weakness: CWE-79

Which versions are affected by CVE-2025-42948?

How do I fix CVE-2025-42948?

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

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

Sources

Also known as GHSA-7fx4-gx8w-xchc.

Is CVE-2025-42948 in your software?

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

Check your SBOMs for free