Skip to content
Fencer Vulns
high —

CVE-2025-11058 json

xml2rfc has an arbitrary file read vulnerability

published 2025-08-26 14 mo ago modified 2026-07-07 4 mo ago also GHSA-cfmv-h8fx-85m7 , PYSEC-2026-2058

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no EPSS score yet
public exploits
0
none known

Summary

### 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/).

Patch / fix

  • pypi xml2rfc 3.30.1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-11058 updated cvss 7.5

xml2rfc: xml2rfc has an arbitrary file read vulnerability

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Affected packages

ecosystem package affected fixed in
pypi xml2rfc
<3.30.1
3.30.1

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.