All reports
High

xml2rfc is vulnerable to arbitrary file reads through prepped files

Affected versions

Version ranges need review.

Affected versions
< 3.30.2
Fixed version
3.30.2
Affected versions
Unknown
Fixed version
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.

Links