Skip to content

Harden DocxReport and DOMUtils XML parsers against XXE#735

Open
MarkLee131 wants to merge 1 commit into
opensagres:masterfrom
MarkLee131:fix/xxe-sibling-parsers
Open

Harden DocxReport and DOMUtils XML parsers against XXE#735
MarkLee131 wants to merge 1 commit into
opensagres:masterfrom
MarkLee131:fix/xxe-sibling-parsers

Conversation

@MarkLee131

Copy link
Copy Markdown

Route DocxReport.onBeforePreprocessing and DOMUtils.load through a shared hardened factory and disallow DOCTYPE in SAXXDocPreprocessor. Adds a regression test. Fixes #734.

Route DocxReport.onBeforePreprocessing and DOMUtils.load through a shared
hardened factory and disallow DOCTYPE in SAXXDocPreprocessor. Adds a
regression test. Fixes opensagres#734.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XXE when rendering an untrusted DOCX: DocxReport / DOMUtils parse archive entries without entity hardening

1 participant