GitHub Advisoryadvisory · PyPI

GHSA-cfmv-h8fx-85m7 xml2rfc has an arbitrary file read vulnerability

HIGH Published 2025-08-26 Modified 2025-09-29 Official page ↗
Aliases
CVE-2025-11058
Ecosystem
PyPI
Packages
xml2rfc
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-22
Reviewed
2025-08-26

Affected packages

• PyPI xml2rfc: < 3.30.1 → fixed in 3.30.1

Description

Impact When generating PDF files, this vulnerability allows an attacker to read arbitrary files from the filesystem by injecting malicious link element into the XML. Workarounds Test untrusted input with `link` elements with `rel="attachment"` before processing. Credits This vulnerability was reported by Mohamed Ouad from Doyensec.

Related

Alias · not in database (1)

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References