Intel

AIKIDO-2025-10770

sitemap is vulnerable to Missing XML Validation

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 6, 2025
November 6, 2025

46

CVE Score

Medium

Missing XML Validation

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to XML injection due to incomplete entity escaping, specifically the lack of proper escaping for the > character in the text() function, and insufficient attribute name validation, which could allow an attacker to exploit this by crafting malicious inputs that bypass escaping mechanisms, leading to CDATA injection or the insertion of invalid attributes, potentially resulting in data manipulation, denial of service, or arbitrary code execution in XML-processing contexts.

How do I fix this?

Upgrade the sitemap library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

7.1.0 - 8.0.2

Fixed in 9.0.0

Background info

sitemap is vulnerable to Missing XML Validation in versions 7.1.0 - 8.0.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea