Description
- 4.5.5
Entity expansion limit exceeded: 1088 > 1000
- 4.5.4
parse operation succeeds.
Compatibility was not maintained between version 4.5.4 and 4.5.5.
The following was found in CHANGELOG.md:
**5.3.6 / 2026-02-14**
- Improve security and performance of entity processing
- new options `maxEntitySize`, `maxExpansionDepth`, `maxTotalExpansions`, `maxExpandedLength`, `allowedTags`,`tagFilter`
- fast return when no edtity is present
- improvement replacement logic to reduce number of calls
Input
Input XML file is the same for both 4.5.4 and 4.5.5 tests.
Code
const options = {
ignoreAttributes: false,
};
const parser = new XMLParser(options);
const xmpObject = parser.parse(buffer.toString('utf8'), true);
Output
Entity expansion limit exceeded: 1088 > 1000
expected data
parse operation succeeds.
Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.
Description
Entity expansion limit exceeded: 1088 > 1000parseoperation succeeds.Compatibility was not maintained between version 4.5.4 and 4.5.5.
The following was found in
CHANGELOG.md:Input
Input XML file is the same for both 4.5.4 and 4.5.5 tests.
Code
Output
Entity expansion limit exceeded: 1088 > 1000expected data
parseoperation succeeds.Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.