Incorrect Regular Expression Affecting org.webjars.npm:fast-xml-parser package, versions [,5.8.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
Exploit Maturity
Proof of Concept
EPSS
0.46% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-15324290
  • published20 Feb 2026
  • disclosed20 Feb 2026
  • creditochko

Introduced: 20 Feb 2026

CVE-2026-25896  (opens in a new tab)
CWE-185  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:fast-xml-parser to version 5.8.0 or higher.

Overview

org.webjars.npm:fast-xml-parser is a Validate XML, Parse XML, Build XML without C/C++ based libraries

Affected versions of this package are vulnerable to Incorrect Regular Expression in the entity parsing RegEx in DOCTYPE declarations. An attacker can inject arbitrary values that override built-in XML entities by crafting entity names containing ., which is interpreted as a regex wildcard, allowing malicious content to be substituted in place of standard entities when the XML is parsed and subsequently rendered or used in sensitive contexts.

CVSS Base Scores

version 4.0
version 3.1