CVE-2025-11059
PyPI 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 prepped RFCXML. ### Workarounds Test untrusted input with `link` elements with `rel="attachment"` before processing. ### References This is related to [GHSA-cfmv-h8fx-85m7](https://github.com/ietf-tools/xml2rfc/security/advisories/GHSA-cfmv-h8fx-85m7).
Affected products
PyPI. The exact versions are in the references.
What to do now
- Check your exposureFind out whether PyPI runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ietf-tools/xml2rfc/security/advisories/GHSA-9mv7-3c64-mmqw
- github.com/ietf-tools/xml2rfc/commit/73fb1c91fc62ac540bb6bd24f982f2becf84c1b0
- github.com/ietf-tools/xml2rfc/releases/tag/v3.30.2
- github.com/advisories/GHSA-9mv7-3c64-mmqw
- nvd.nist.gov/vuln/detail/CVE-2025-11059
- cve.org/CVERecord?id=CVE-2025-11059
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.