[NEW] CVE-2026-38358: xlsx unescapexml() Unbounded Recursion DoS#7611
Open
tldhs1144 wants to merge 1 commit intogithub:tldhs1144/advisory-improvement-7611from
Open
Conversation
6c3be2c to
8c648da
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Submitting a new advisory for SheetJS
xlsxCommunity Edition (npm).xlsx(npm, ~2M weekly downloads)AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H)Why a PR (not a repo Security advisory)
SheetJS publishes the
xlsxCommunity Edition on npm but has shifted active development to the commercial Pro product. The upstream repositorySheetJS/sheetjshas not received Community-Edition fixes since 2022. This community PR is the path of last resort to surface the issue innpm audit/ Dependabot.What I'm asking from the curation team
GHSA-xxxx-xxxx-xxxxID to replacexlsx-cdata-recursion-cve-2026-38358github-reviewedindexVulnerability summary
unescapexml()(xlsx.js:3501-3506) recursively processes each<![CDATA[...]]>token by calling itself on the suffix substring. No depth tracking. An XLSX file (~126 KB) with ~9,000 sequential CDATA tokens inxl/sharedStrings.xmlreliably crashes Node.js v18+ withRangeError: Maximum call stack size exceeded.Why CVSS Scope:Changed (8.6 not 7.5): the vulnerable component is the parser library, but the crashed component is the host application process containing arbitrary user code — different security authority.
Researcher
Sion Park (
tldhs1144@gmail.com)Companion submissions in parallel PRs: