File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Misc/NEWS.d/next/Documentation Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,14 @@ for the feature and property names.
9696
9797.. data :: feature_external_ges
9898
99+ .. warning ::
100+
101+ Enabling opens a vulnerability to
102+ `external entity attacks <https://en.wikipedia.org/wiki/XML_external_entity_attack >`_
103+ if the parser is used with user-provided XML content.
104+ Please reflect on your `threat model <https://en.wikipedia.org/wiki/Threat_model >`_
105+ before enabling this feature.
106+
99107 | value: ``"http://xml.org/sax/features/external-general-entities"``
100108 | true: Include all external general (text) entities.
101109 | false: Do not include external general entities.
Original file line number Diff line number Diff line change 1+ :mod: `xml.sax.handler `: Make Documentation of
2+ :data: `xml.sax.handler.feature_external_ges ` warn of opening up to `external
3+ entity attacks <https://en.wikipedia.org/wiki/XML_external_entity_attack> `_.
4+ Patch by Sebastian Pipping.
You can’t perform that action at this time.
0 commit comments