xml2rfc is vulnerable to arbitrary file reads through prepped files
Description
Published to the GitHub Advisory Database
Sep 10, 2025
Reviewed
Sep 10, 2025
Last updated
Sep 10, 2025
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 withrel="attachment"
before processing.References
This is related to GHSA-cfmv-h8fx-85m7.
References