Skip to content
OpenAdvisories
High CVE-2025-11058 GHSA-cfmv-h8fx-85m7PYSEC-2026-2058

xml2rfc has an arbitrary file read vulnerability

Published Aug 26, 2025 · Updated Jul 7, 2026 · Assigned by GHSA

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 XML.

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

### Credits
This vulnerability was reported by Mohamed Ouad from [Doyensec](https://doyensec.com/).

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI xml2rfc < 3.30.1 3.30.1 GHSA-cfmv-h8fx-85m7

References