Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2023-2142

21
FAUCET Score

CVE-2023-2142 is a Cross-Site Scripting (XSS) vulnerability affecting Nunjucks versions prior to 3.2.4. It allows attackers to bypass autoescape restrictions and inject XSS payloads if two user-controlled parameters appear on the same line in views, utilizing the backslash character. Rated Medium severity with a CVSS score of 6.1, this vulnerability has a network attack vector, low attack complexity, and requires user interaction, potentially leading to limited impact on confidentiality and integrity. There is no evidence of active exploitation, and no public exploit code is available on platforms like Metasploit or ExploitDB. Community discussion and media coverage for this CVE are minimal.

Impacted Technologies

VendorProductVersion(s)CPE
< 3.2.4CPE matchmatch criteria
cpe:2.3:a:mozilla:nunjucks:*:*:*:*:*:*:*:*
>= 0, < 3.2.4CPE match
cpe:2.3:a:mozilla:nunjucks:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

6.1MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
2.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.35%
Probability of exploitation in next 30 days
EPSS Percentile
28.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0035 is in the 28th percentile among its peer group of 26,234 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

npmpatch availablevia ghsa
Product: nunjucksFixed in: 3.2.4
github_advisoryvendor investigatingvia nvd_reference
View patch

Vendor Advisories (2)

redhatCVE-2023-2142Moderate

Nunjucks: Nunjucks autoescape bypass leads to cross site scripting

Nov 26, 2024
npmGHSA-x77j-w7wf-fjmwmedium

Nunjucks autoescape bypass leads to cross site scripting

Apr 20, 2023

References

bugzilla.mozilla.org / show_bug.cgi
Issue TrackingPermissions Required
github.com / mozilla/nunjucks/security/advisories/GHSA-x77j-w7wf-fjmw
Vendor Advisory