6.1

CVE-2023-2142: mozilla nunjucks Cross-site Scripting

CVSS: 6.1v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2023-2142DEBIAN-CVE-2023-2142GHSA-x77j-w7wf-fjmw
Published 26-11-2024Last modified 27-11-2024

Vulnerability summary

CVE-2023-2142 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in mozilla nunjucks. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 28.6% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 26-11-2024
    PublishedVulnerability first disclosed.
  2. 27-11-2024
    Last modifiedVulnerability information updated.

Description

In Nunjucks versions prior to version 3.2.4, it was possible to bypass the restrictions which are provided by the autoescape functionality. If there are two user-controlled parameters on the same line used in the views, it was possible to inject cross site scripting payloads using the backslash \ character.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

0.00 pp

From 0.36% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.36%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • node-nunjucksAll versions (No fix recorded) | < 3.2.4+~cs4.2.7-1
Mozilla1 product
Npm1 product
  • nunjucks< 3.2.4
Ubuntu1 product
  • node-nunjucksAll versions (No fix recorded)

4 vendors · 4 products

References

10 links