CVE-2025-27434 Cross-Site Scripting (XSS) vulnerability in SAP Commerce (Swagger UI)

High 8.8 Published Updated

An unauthenticated attacker can inject malicious code into SAP Commerce Swagger UI, compromising data confidentiality, integrity, and availability.

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

CVE-2025-27434 is a high-severity cross-site scripting vulnerability in SAP_SE SAP Commerce (Swagger UI), published on 11 Mar 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 insufficient input validation, SAP Commerce (Swagger UI) allows an unauthenticated attacker to inject the malicious code from remote sources, which can be leveraged by an attacker to execute a cross-site scripting (XSS) attack. This could lead to a high impact on the confidentiality, integrity, and availability of data in SAP Commerce.

Weakness: CWE-79

Which versions are affected by CVE-2025-27434?

How do I fix CVE-2025-27434?

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

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

Sources

Also known as GHSA-22v9-2p6r-qwwx.

Is CVE-2025-27434 in your software?

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

Check your SBOMs for free