CVEBrief

Home / underscore / underscore / CVE-2021-23358

CVE-2021-23358: is it exploited, and which versions of underscore are affected and fixed?

CVE-2021-23358 is a code injection (remote code execution) vulnerability in underscore. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: underscore from 1.3.2 before 1.12.1 (GitHub advisory GHSA-cf4h-3jhx-xvhq). Fixed in 1.12.1 (GitHub advisory GHSA-cf4h-3jhx-xvhq). Severity: Low (3.3, CVSS 3.1, from snyk).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 28, 2026, 20:17 UTC and NVD November 19, 2026, 07:59 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
underscore from 1.3.2 before 1.12.1
GitHub advisory GHSA-cf4h-3jhx-xvhq
Fixed in
1.12.1
GitHub advisory GHSA-cf4h-3jhx-xvhq
Severity
Low 3.3
CVSS 3.1 from snyk
Exploit odds (EPSS)
4.20% in 30 days
higher than 91% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-23358?

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.

From the CVE record by snyk, last updated November 3, 2025, 21:44 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
underscorefrom 1.13.0-0 before unspecified
before 1.13.0-2
from 1.3.2 before unspecified
before 1.12.1
unspecified, 1.13.0-2, 1.12.1

As the CVE record by snyk states it, last updated November 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npmunderscore>= 1.3.2, < 1.12.11.12.1GHSA-cf4h-3jhx-xvhq

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 4, 2025. Summary: Arbitrary Code Execution in underscore.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
underscorejsunderscorefrom 1.3.2 before 1.12.1application
underscorejsunderscorefrom 1.13.0-0 before 1.13.0-2application
debiandebian linux9.0operating system
debiandebian linux10.0operating system
tenabletenable.scthrough 5.18.0application
fedoraprojectfedora33operating system
fedoraprojectfedora34operating system

NVD analysis (status Modified), last modified June 17, 2026, 03:38 UTC.

How severe is CVE-2021-23358?

ScoreVersionVectorSource
Low 3.3CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:Csnyk
High 7.2CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HNVD
Medium 6.5CVSS 2.0AV:N/AC:L/Au:S/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-23358 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: total (CISA ADP, August 29, 2024)
EPSS
4.20% probability of exploitation activity in the next 30 days, percentile 91.2 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
January 8, 2021
Published
March 29, 2021, 13:15 UTC
CVE record updated
November 3, 2025, 21:44 UTC by snyk
NVD
Modified, last modified June 17, 2026, 03:38 UTC
Last checked
CVE list November 28, 2026, 20:17 UTC; NVD November 19, 2026, 07:59 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

Questions about CVE-2021-23358

Is CVE-2021-23358 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 4.20% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of underscore are affected by CVE-2021-23358?

underscore from 1.3.2 before 1.12.1, per the GitHub advisory GHSA-cf4h-3jhx-xvhq. The tables above give every range the sources list.

Which version fixes CVE-2021-23358?

1.12.1, per the GitHub advisory GHSA-cf4h-3jhx-xvhq. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-23358?

Low (3.3, CVSS 3.1, from snyk). The severity table above shows each score with its source.

Where is the official record of CVE-2021-23358?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.