GitHub Advisoryadvisory · PyPI
GHSA-9mv7-3c64-mmqw xml2rfc is vulnerable to arbitrary file reads through prepped files
HIGH
Official page ↗
- Aliases
- CVE-2025-11059
- 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-09-10
Affected packages
• PyPI xml2rfc: < 3.30.2 → fixed in 3.30.2
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 prepped RFCXML.
Workarounds
Test untrusted input with `link` elements with `rel="attachment"` before processing.
References
This is related to GHSA-cfmv-h8fx-85m7.
Related
Alias · not in database (1)
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness