CVE-2025-42901 Code Injection vulnerability in SAP Application Server for ABAP (BAPI Browser)

Medium 5.4 Published Updated

Authenticated attackers can inject JavaScript into the BAPI Browser, leading to execution in victim browsers and compromising confidentiality and integrity.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-42901?

CVE-2025-42901 is a medium-severity cross-site scripting vulnerability in SAP_SE SAP Application Server for ABAP (BAPI Browser), published on 14 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SAP Application Server for ABAP allows an authenticated attacker to store malicious JavaScript payloads which could be executed in victim user's browser when accessing the affected functionality of BAPI explorer. This has low impact on confidentiality and integrity with no impact on availability of the application.

Weakness: CWE-94

Which versions are affected by CVE-2025-42901?

How do I fix CVE-2025-42901?

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

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

Sources

Also known as GHSA-89j9-chx6-26hv.

Is CVE-2025-42901 in your software?

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

Check your SBOMs for free