GHSA-7284-627f-6q4pHighCVSS 7.5
Docutils before 0.23.1 contains a local file disclosure vulnerability in the HTML and ODT writers...
🔗 CVE IDs covered (1)
📋 Description
Docutils before 0.23.1 contains a local file disclosure vulnerability in the HTML and ODT writers that embed image directive files despite file_insertion_enabled being disabled. Attackers supplying reStructuredText can reference arbitrary local paths in image directives to have readable files embedded into generated HTML or ODT documents.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-144965
- https://github.com/docutils/docutils/commit/a761540f7f6479be42948991a662f7b54e1f118e
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/_html_base.py#L1166-L1186
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/odf_odt/__init__.py#L2124-L2166
- https://pypi.org/project/docutils/0.23.1
- https://www.vulncheck.com/advisories/docutils-before-0.23.1-local-file-disclosure-via-image-directives
- https://github.com/advisories/GHSA-7284-627f-6q4p