Skip to content

Xxe protection servlets hardening#1015

Open
sahvx655-wq wants to merge 1 commit into
apache:mainfrom
sahvx655-wq:xxe-protection-servlets-hardening
Open

Xxe protection servlets hardening#1015
sahvx655-wq wants to merge 1 commit into
apache:mainfrom
sahvx655-wq:xxe-protection-servlets-hardening

Conversation

@sahvx655-wq
Copy link
Copy Markdown
Contributor

Enable secure JAXP processing in DefaultServlet and WebdavServlet as defense-in-depth against XXE attacks.

Changes
Enabled FEATURE_SECURE_PROCESSING on TransformerFactory in DefaultServlet
Enabled FEATURE_SECURE_PROCESSING and disallowed DTDs on DocumentBuilderFactory in WebdavServlet

These changes strengthen XML parser security and align with JAXP best practices.

@sahvx655-wq sahvx655-wq force-pushed the xxe-protection-servlets-hardening branch from 1182414 to 2507f9c Compare May 29, 2026 06:12
@sahvx655-wq sahvx655-wq force-pushed the xxe-protection-servlets-hardening branch from 2507f9c to 876dfda Compare May 29, 2026 06:28
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.

1 participant