OSV 1.4.0 · github-reviewed · 修改于 2026-07-03 04:20
发布时间
2026-07-03 04:20
GitHub 审查时间
2026-07-03 04:20
NVD 发布时间
—
源文件
advisories/github-reviewed/2026/07/GHSA-x4hg-hfwf-p9mw/GHSA-x4hg-hfwf-p9mw.json
The HTMLInputElement.checkValidity() method constructed a RegExp directly from the user-controlled pattern property without any sanitization or timeout protection. This allowed an attacker to inject a regex with catastrophic backtracking, freezing the event loop.
Fixed in commit https://github.com/asymmetric-effort/NogginLessDom/commit/25a3cbac665fae5663f8b71c073b80c3152dbe7b on main. Added:
hasNestedQuantifiers) that rejects patterns like (a+)+ before constructing the regex