Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting llama-index-readers-stripe-docs package, versions [,0.3.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (18th 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-PYTHON-LLAMAINDEXREADERSSTRIPEDOCS-10645573
  • published8 Jul 2025
  • disclosed7 Jul 2025
  • creditElias Hohl

Introduced: 7 Jul 2025

NewCVE-2025-3225  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade llama-index-readers-stripe-docs to version 0.3.1 or higher.

Overview

llama-index-readers-stripe-docs is a llama-index readers stripe_docs integration

Affected versions of this package are vulnerable to Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') via the parse_sitemap () function. An attacker can exhaust system memory and potentially cause a system crash by supplying a specially crafted XML file containing excessive entity expansions.

References

CVSS Base Scores

version 4.0
version 3.1