Skip to content

fix: disable XXE in XMLInputFactory#36

Merged
vpaturet merged 1 commit into
masterfrom
fix/disable-xxe-xml-parsing
Apr 9, 2026
Merged

fix: disable XXE in XMLInputFactory#36
vpaturet merged 1 commit into
masterfrom
fix/disable-xxe-xml-parsing

Conversation

@vpaturet

@vpaturet vpaturet commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Configures IS_SUPPORTING_EXTERNAL_ENTITIES=false and SUPPORT_DTD=false on all XMLInputFactory instances in XmlInputFactoryProvider, blocking XML External Entity (XXE) attacks as a defense-in-depth measure.
  • Adds tests verifying XXE payloads are rejected for both SIRI 2.0 and 2.1 parsing.

…tion

Configures IS_SUPPORTING_EXTERNAL_ENTITIES=false and SUPPORT_DTD=false
on all XMLInputFactory instances, blocking XML External Entity attacks
as a defense-in-depth measure (per OTP security audit Finding #6).
@vpaturet vpaturet requested a review from lassetyr April 9, 2026 08:21
@vpaturet vpaturet merged commit bb7936b into master Apr 9, 2026
11 of 12 checks passed
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.

2 participants