CVE-2025-11059
xml2rfc is vulnerable to arbitrary file reads through prepped files
描述
### 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](https://github.com/ietf-tools/xml2rfc/security/advisories/GHSA-cfmv-h8fx-85m7).
如何修補 CVE-2025-11059
要修補 CVE-2025-11059,請將受影響套件升級到下列已修補版本。
- PyPI/xml2rfc—升級至 3.30.2 或更新版本
CVE-2025-11059 正在被利用嗎?
目前沒有被利用訊號。CVE-2025-11059 既不在 CISA KEV 也沒有最新的 EPSS 分數。
受影響套件(1)
- from 0, < 3.30.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |