{"cve":"CVE-2021-23358","nvd":{"published":"2021-03-29T14:15:18.047","modified":"2026-06-17T03:38:37.023","status":"Modified","description":"The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2},"cwes":["CWE-94"],"references":["https://github.com/jashkenas/underscore/blob/master/modules/template.js%23L71","https://lists.apache.org/thread.html/r5df90c46f7000c4aab246e947f62361ecfb849c5a553dcdb0ef545e1%40%3Cissues.cordova.apache.org%3E","https://lists.apache.org/thread.html/r770f910653772317b117ab4472b0a32c266ee4abbafda28b8a6f9306%40%3Cissues.cordova.apache.org%3E","https://lists.apache.org/thread.html/raae088abdfa4fbd84e1d19d7a7ffe52bf8e426b83e6599ea9a734dba%40%3Cissues.cordova.apache.org%3E","https://lists.apache.org/thread.html/rbc84926bacd377503a3f5c37b923c1931f9d343754488d94e6f08039%40%3Cissues.cordova.apache.org%3E"],"products":["debian:debian_linux","fedoraproject:fedora","tenable:tenable.sc","underscorejs:underscore"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-23358","score":0.042,"percentile":0.90957,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-cf4h-3jhx-xvhq","url":"https://osv.dev/vulnerability/GHSA-cf4h-3jhx-xvhq","summary":"Arbitrary Code Execution in underscore","modified":"2025-11-04T16:33:59Z","packages":[{"ecosystem":"npm","name":"underscore","purl":"pkg:npm/underscore","ranges":[">=1.3.2 <1.12.1"],"fixed":["1.12.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}