{"id":"CVE-2021-32819","published":"2021-05-14T00:00:00Z","modified":"2024-08-03T23:33:55Z","title":"Remote code execution in squirrelly","vendor":"squirrellyjs","product":"squirrelly","tier":"core","eol":null,"affectedVersions":[{"vendor":"squirrellyjs","product":"squirrelly","versions":[">= 9.0.0, < 9.0.0"]}],"description":{"text":"Squirrelly is a template engine implemented in JavaScript that works out of the box with ExpressJS. Squirrelly mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options remote code execution may be triggered in downstream applications. This issue is fixed in version 9.0.0. For complete details refer to the referenced GHSL-2021-023.","provenance":"source","from":"CVE.org"},"summary":{"text":"The squirrelly template engine for JavaScript, used with ExpressJS, mixes template data with engine configuration through the Express render API, so overwriting internal configuration options can lead to remote code execution in downstream applications. An attacker can trigger this over the network without authentication, but it requires user interaction and a high-complexity condition (a downstream application that passes attacker-influenced data into the render call).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:12:52Z"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.58286,"percentile":0.99109,"date":"2026-11-24","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-02-07","exploitedFirstSeen":"2024-02-07","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-32819","date":"2024-02-07"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Attackers Are Taking Advantage of the Open-Source Service Interactsh for Malicious Purposes","url":"https://otx.alienvault.com/pulse/61695dd13611f59694746cda","created":"2021-10-15"}],"provenance":"machine"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-023-squirrelly/","tags":[]},{"url":"https://github.com/squirrellyjs/squirrelly/pull/254","tags":[]},{"url":"https://github.com/squirrellyjs/squirrelly/commit/c12418a026f73df645ba927fd29358efe02fed1e","tags":[]},{"url":"https://github.com/squirrellyjs/squirrelly/commit/dca7a1e7ee91d8a6ffffb655f3f15647486db9da","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"squirrelly","vulnerableRanges":["<9.0.0"],"patched":["9.0.0"],"from":["GHSA-q8j6-pwqx-pm96"],"provenance":"source"}],"advisories":[{"id":"GHSA-q8j6-pwqx-pm96","url":"https://github.com/advisories/GHSA-q8j6-pwqx-pm96","severity":"HIGH","ecosystem":"npm","package":"squirrelly","vulnerableRanges":["<9.0.0"],"patched":["9.0.0"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-1163","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1163","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2021-06-12","earliestUrl":"https://github.com/Abady0x1/CVE-2021-32819","repos":[{"name":"Abady0x1/CVE-2021-32819","url":"https://github.com/Abady0x1/CVE-2021-32819","stars":10,"created":"2021-06-12"}]},"nuclei":[{"id":"CVE-2021-32819","name":"Nodejs Squirrelly - Remote Code Execution","severity":"high","path":"http/cves/2021/CVE-2021-32819.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-32819.yaml"}],"first":{"date":"2021-06-12","source":"PoC-in-GitHub","url":"https://github.com/Abady0x1/CVE-2021-32819"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-05-14","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-32819","provenance":"source"},{"date":"2021-06-12","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/Abady0x1/CVE-2021-32819","provenance":"source"},{"date":"2024-02-07","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-32819","provenance":"source"}],"speed":{"daysToPublicExploit":29,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":66.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1021 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.82,"detail":"percentile 0.9911"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":5.6,"detail":"base score 8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}