CVE-2023-2142

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductMozilla Nunjucks
PublishedNov 26, 2024
First seenNov 26, 2024

How to fix

Update
  • mozilla nunjucks3.2.4 or later
  • nunjucks3.2.4 or later

Affected products

ProductAffected versionsFixed in
mozilla nunjucksv < 3.2.43.2.4
nunjucksnpmv < 3.2.43.2.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.