Advisory

GHSA-9mv7-3c64-mmqw

Also known as: CVE-2025-11059, PYSEC-2026-2057

Summary

xml2rfc is vulnerable to arbitrary file reads through prepped files

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-09-10 20:44 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

xml2rfc

PyPI · All systems

Affected

  • introduced 0, fixed 3.30.2 (ecosystem)

Fixed versions

3.30.2

Fix

  • Fixed version 3.30.2
    pip install --upgrade xml2rfc==3.30.2

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences