CVE-2025-42873 Denial of Service (DoS) in SAPUI5 framework (Markdown-it component)

Medium 5.9 Published Updated

Attackers can cause a denial of service via infinite loop in the Markdown-it component of SAPUI5, leading to high CPU usage and system unresponsiveness.

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

What is CVE-2025-42873?

CVE-2025-42873 is a medium-severity denial of service vulnerability in SAP_SE SAPUI5 framework (Markdown-it component), published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SAPUI5 (and OpenUI5) packages use outdated 3rd party libraries with known security vulnerabilities. When markdown-it encounters special malformed input, it fails to terminate properly, resulting in an infinite loop. This Denial of Service via infinite loop causes high CPU usage and system unresponsiveness due to a blocked processing thread. This vulnerability has no impact on confidentiality or integrity but has a high impact on system availability.

Weakness: CWE-405

Which versions are affected by CVE-2025-42873?

How do I fix CVE-2025-42873?

No fix has been published for CVE-2025-42873 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-42873 being exploited?

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

Sources

Also known as GHSA-rvp5-chfc-grq8.

Is CVE-2025-42873 in your software?

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

Check your SBOMs for free