CVE-2024-42378 Cross-Site Scripting (XSS) in eProcurement on S/4HANA

Medium 6.1 Published Updated

Attackers can execute malicious scripts in SAP S/4HANA eProcurement via reflected XSS, compromising user confidentiality and integrity.

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-2024-42378?

CVE-2024-42378 is a medium-severity cross-site scripting vulnerability in SAP_SE SAP S/4HANA eProcurement, published on 10 Sep 2024. 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 weak encoding of user-controlled inputs, eProcurement on SAP S/4HANA allows malicious scripts to be executed in the application, potentially leading to a Reflected Cross-Site Scripting (XSS) vulnerability. This has no impact on the availability of the application, but it can have some minor impact on its confidentiality and integrity.

Weakness: CWE-79

Which versions are affected by CVE-2024-42378?

How do I fix CVE-2024-42378?

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

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

Sources

Also known as GHSA-8j5m-w5gm-27m4.

Is CVE-2024-42378 in your software?

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

Check your SBOMs for free