Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ultimate-sitemap-parser
  4. ›
  5. GHSA-p5wc-9w9r-m232

GHSA-p5wc-9w9r-m232: Ultimate Sitemap Parser (USP): XML Entity Expansion (Billion Laughs) DoS in XMLSitemapParser

June 19, 2026

ultimate-sitemap-parser version 1.8.0 and earlier parse attacker-controlled XML content using Python’s xml.parsers.expat without any restriction on DTD declarations or recursive entity references. An attacker who can serve a malicious sitemap can trigger exponential XML entity expansion (the “Billion Laughs” attack), causing unbounded CPU and memory consumption in the victim process. No authentication, user interaction, or special configuration is required — the vulnerability is exploitable by default through any public-facing use of sitemap_tree_for_homepage() or sitemap_from_str().

References

  • github.com/GateNLP/ultimate-sitemap-parser/security/advisories/GHSA-p5wc-9w9r-m232
  • github.com/advisories/GHSA-p5wc-9w9r-m232

Code Behaviors & Features

Detect and mitigate GHSA-p5wc-9w9r-m232 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.1

Fixed versions

  • 1.8.1

Solution

Upgrade to version 1.8.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Source file

pypi/ultimate-sitemap-parser/GHSA-p5wc-9w9r-m232.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:05 +0000.