Skip to content

OTP27 support - allow_entities - #7

Merged
rindek merged 1 commit into
masterfrom
otp-27-allow_entities
Oct 27, 2025
Merged

OTP27 support - allow_entities#7
rindek merged 1 commit into
masterfrom
otp-27-allow_entities

Conversation

@rindek

Copy link
Copy Markdown

A change in xmerl defaults released in OTP 27, and made in erlang/otp#7539 (c.f. detailed release notes)

Some default values in Xmerl has been changed to avoid XML External Entity
(XXE) vulnerabilities if you're parsing untrusted XML.
xmerl_scan: the default value for allow_entities has changed to false.
xmerl_sax_parser: the default value for external_entities has changed to none.

Own Id: OTP-19079
Application(s): xmerl
Related Id(s): GH-7539

XXE was not discovered in OTP26 so it's safe to use these entities for OTP27

@rindekrindek self-assigned this Oct 27, 2025
@up2jj
up2jj self-requested a review October 27, 2025 07:19
@rindek
rindek merged commit 4fb4076 into masterOct 27, 2025
@rindek
rindek deleted the otp-27-allow_entities branch October 27, 2025 07:20
Sign up for freeto 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

@rindek@up2jj