{"id":"MAL-2026-12026","revision":null,"records":[{"revision":"dd90f14dc0b1406cbc35b8b9c076d5d0","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12026","aliases":["GHSA-2hwp-7m6r-hgjg"],"title":"Malicious code in cors-version (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (90e391c8883796e10e6d74a96311f18f2a083b2745a6bd6cae8a3d7acc61d277)\nThe CommonJS entry src/index.cjs exports getPlugin(), which performs an HTTPS GET to the hardcoded host astonishing-torrone-ffb31e.netlify.app with TLS verification disabled (rejectUnauthorized: false) and passes the response body directly to new Function(..., require)(require), executing the retrieved JavaScript inside the caller's Node.js process with full require access. The package advertises itself as a zero-dependency SVG utility library and its ESM sibling src/index.mjs does not expose getPlugin, so the remote loader is only present in the CJS build and is unrelated to any declared functionality. Any consumer that imports the package and invokes getPlugin() — or downstream tooling that resolves plugin factories by name — will fetch and run attacker-controlled JavaScript, and the disabled TLS check additionally exposes the fetch to MITM substitution.\n\n## Source: ghsa-malware (baf0c037ff57009bf7a5c8368b01bd5ed8bbb35a99ee3b1e02187b33982677ef)\nAny 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.\n","state":0,"publishedAt":"2026-08-04T17:06:48+00:00","modifiedAt":"2026-08-05T10:06:05.6817092+00:00","affected":[{"ecosystem":"npm","name":"cors-version","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.2","1.0.3","1.0.5","1.0.4","1.0.1","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-2hwp-7m6r-hgjg","https://www.npmjs.com/package/cors-version/v/1.0.2","https://www.npmjs.com/package/cors-version/v/1.0.3","https://www.npmjs.com/package/cors-version/v/1.0.5","https://www.npmjs.com/package/cors-version/v/1.0.4","https://www.npmjs.com/package/cors-version/v/1.0.1","https://www.npmjs.com/package/cors-version/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12026","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12026","identifiers":["MAL-2026-12026","GHSA-2hwp-7m6r-hgjg"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-23T03:25:38.9974088+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T03:25:38.9974088+00:00","lastSuccessAt":"2026-11-23T03:25:39.1695994+00:00","error":null,"lastVerifiedAt":"2026-11-23T03:25:39.1695996+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-71e9d10f2d0d97eca621106109d8636469d8d8ec589e3938acb9e721cca91333","complete":true,"records":430573,"lastAttemptAt":"2026-11-23T03:25:38.2646128+00:00","lastSuccessAt":"2026-11-23T03:25:38.2432693+00:00","error":null,"lastVerifiedAt":"2026-11-23T03:25:38.2646128+00:00","snapshotPublishedAt":"2026-11-23T03:21:53+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7a3ebd11d6134927b919f54d59059147","complete":false,"records":13928,"lastAttemptAt":"2026-11-23T03:30:38.7115744+00:00","lastSuccessAt":"2026-11-23T03:30:38.707+00:00","error":"28 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-23T03:30:38.707+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13947,"expectedIdentifiers":13976,"failedIdentifiers":28},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-23T03:25:38.9974088+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T03:25:38.9974088+00:00","lastSuccessAt":"2026-11-23T03:25:39.1704185+00:00","error":null,"lastVerifiedAt":"2026-11-23T03:25:39.1704186+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-382d8d787e9b4b2e90348eff7b96549f","complete":true,"records":13940,"lastAttemptAt":"2026-11-23T03:25:58.8424242+00:00","lastSuccessAt":"2026-11-23T03:25:58.837+00:00","error":null,"lastVerifiedAt":"2026-11-23T03:25:58.837+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13976,"expectedIdentifiers":13976,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T03:25:38.9175203+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T03:25:38.9175203+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-23T03:25:38.4316016+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T03:25:38.4316016+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-34e3febe229a8c4d306159756d21338234dcade8dc1897229c4083bb83bd0f50","complete":true,"records":3215,"lastAttemptAt":"2026-11-23T03:25:38.929967+00:00","lastSuccessAt":"2026-11-22T22:25:42.902989+00:00","error":null,"lastVerifiedAt":"2026-11-23T03:25:38.929967+00:00","snapshotPublishedAt":"2026-11-22T21:48:33+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-5abb21d725460b21f93bad26179c7923894a2fe13d4928b7b1738e27a6f823c2","complete":true,"records":232863,"lastAttemptAt":"2026-11-23T03:25:38.8104027+00:00","lastSuccessAt":"2026-11-23T01:36:55.4868701+00:00","error":null,"lastVerifiedAt":"2026-11-23T03:25:38.8104027+00:00","snapshotPublishedAt":"2026-11-23T00:48:48+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}