Skip to content

Update parse5 for safe template parsing - #5

Merged
VitaliyBoyko merged 1 commit into
mainfrom
fix/update-parse5-security
Nov 9, 2026
Merged

VitaliyBoyko merged 1 commit into
mainfrom
fix/update-parse5-security

Conversation

@VitaliyBoyko

Copy link
Copy Markdown
Collaborator

Update parse5 from 7.3.0 to 8.1.1 to fix malformed-HTML crashes, excessive parsing time and foreign-content parsing errors in template analysis. Add regressions for malformed surrogate text and unterminated nested templates.

Prepare version 2.0.0: the ESM-only parser requires Node.js ^20.19.0 or >=22.12.0; the package retains its CommonJS exports. Extend CI to cover both minimum Node versions alongside the existing cases.

Official parse5 security release notes

@VitaliyBoyko
VitaliyBoyko merged commit bd6ed85 into main Nov 9, 2026
5 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