Skip to content

Arbitrary file read vulnerability with prepped files

Critical
kesara published GHSA-9mv7-3c64-mmqw Sep 9, 2025

Package

pip xml2rfc (pip)

Affected versions

<= 3.30.1

Patched versions

3.30.2

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 prepped RFCXML.

Workarounds

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

References

This is related to GHSA-cfmv-h8fx-85m7.

Severity

Critical

CVE ID

No known CVE

Weaknesses

No CWEs