Skip to main content
MalwarePublished

codemirror-5 (npm) · Malicious Code

Affects codemirror-5Source GCVE Database

0

Malicious package : remove codemirror-5 and rotate any secrets on hosts that installed it.

Data as of 22 Nov 2026, 02:49 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-191557

What to do

Remove codemirror-5 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmcodemirror-5Affected–Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package codemirror-5 was found to contain malicious code. Any system with this package installed or running should be considered fully compromised, with potential unauthorized access to secrets and keys. Immediate removal of the package and rotation of all secrets from a separate, secure system is strongly advised.

References

Community reviews

Loading reviews…