NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-11058: xml2rfc has an arbitrary file read vulnerability

highCVSS 4.0 8.7GHSA-cfmv-h8fx-85m7

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.

Published Aug 26, 2025 · Updated Sep 29, 2025

Affected packages

xml2rfc

Ecosystem
PyPI
Affected
<= 3.30.0
Fixed in
3.30.1
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 XML.

Workarounds

Test untrusted input with link elements with rel="attachment" before processing.

Credits

This vulnerability was reported by Mohamed Ouad from Doyensec.

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

More PyPI vulnerabilities

All PyPI entries