Malicious code in html-to-gutenberg (npm)
Severity and exploitation
KEV coverage does not rule out exploitation.
Severity
unknownCVSS measures technical severity, not the likelihood of an attack.
Known exploitation
KEV status unavailable or stale
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Fix status not established
No structured fix or guidance is available here. Check the latest publisher advisory.
What this means
--- _-= Per source details. Do not edit below this line.=-_
Source excerpt · OSVAttack conditions
Source: amazon-inspector (ad55bd01687902eea54021b3d30ce0b10f795a1521b425b32e57ef46b7a4ae77)
The published tarball contains api.js at the package root, a heavily obfuscated loader using an obfuscator.io-style XOR-decoded string table (key 0x46) that reconstructs identifiers including 'constructor', stashes require and module on the global object, and uses Function(...) to compile and immediately invoke an approximately 9.6 KB decoded payload. Because the obfuscated loader is dormant on both npm install and require of the package, no installer-harm dataflow is produced in normal consumer use, but shipping an obfuscated dynamic-eval loader with concealed payload contents in a published tarball is an unusual transparency and supply-chain hygiene concern.
Excerpt from the original source description below.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Packages
Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.
Read the explicit versions or original source for affected-version evidence.
Version evidence: OSV · MAL-2026-6359
View original version evidence (15 explicit versions)
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (ad55bd01687902eea54021b3d30ce0b10f795a1521b425b32e57ef46b7a4ae77)
The published tarball contains api.js at the package root, a heavily obfuscated loader using an obfuscator.io-style XOR-decoded string table (key 0x46) that reconstructs identifiers including 'constructor', stashes require and module on the global object, and uses Function(...) to compile and immediately invoke an approximately 9.6 KB decoded payload. The file is referenced only by the author's manual scripts.build step (node api.js && tsc); it is not referenced by the package's main entry (index.js), not imported by any reachable module, and not invoked by the declared postinstall. The postinstall script performs a local file-copy of vendor/fetch-page-assets/index.ts into node_modules via fs.copyFileSync with no network I/O and no shell exec of api.js. Because the obfuscated loader is dormant on both npm install and require of the package, no installer-harm dataflow is produced in normal consumer use, but shipping an obfuscated dynamic-eval loader with concealed payload contents in a published tarball is an unusual transparency and supply-chain hygiene concern.
Source: ghsa-malware (6381496c1a275836b5d3c11ca7f141ad32f84b5263450bf5cb3c9a91289dcd1d)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References
13 sourcesView 7 more references
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
No official CVE record has been imported. Use the source links below for the original advisory.
cve.new JSON →Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changes- OSV · MAL-2026-6359
Observed 2026-10-29T15:17:52.431Z · upstream updated 2026-10-29T14:30:42.945Z
References changed
before
[ "https://github.com/advisories/GHSA-2gqj-wrf5-35w8", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.14", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.17", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.13", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.18", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.16", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.12", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.15", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.19", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.20", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.24", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.26" ]
after
[ "https://github.com/advisories/GHSA-2gqj-wrf5-35w8", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.14", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.17", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.13", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.18", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.16", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.12", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.15", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.19", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.20", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.24", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.26", "https://www.npmjs.com/package/html-to-gutenberg/v/4.2.25" ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.