CVE-2025-11059: xml2rfc is vulnerable to arbitrary file reads through prepped files
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.
Published Sep 10, 2025 · Updated Sep 29, 2025
Affected packages
xml2rfc
- Ecosystem
- PyPI
- Affected
- < 3.30.2
- Fixed in
- 3.30.2
- Check
pip show xml2rfc
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
