xml2rfc
Affected
- introduced
0, fixed3.30.1(ecosystem)
Fixed versions
3.30.1
Fix
- Fixed version
3.30.1pip install --upgrade xml2rfc==3.30.1
Advisory
Also known as: CVE-2025-11058, PYSEC-2026-2058
xml2rfc has an arbitrary file read vulnerability
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.
High Basis: The source's own band: HIGH
0, fixed 3.30.1 (ecosystem)3.30.1
3.30.1pip install --upgrade xml2rfc==3.30.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0