CVE-2023-2142 Affecting node-nunjucks package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODENUNJUCKS-8421716
  • published27 Nov 2024
  • disclosed26 Nov 2024

Introduced: 26 Nov 2024

NewCVE-2023-2142  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable node-nunjucks.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-nunjucks package and not the node-nunjucks package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.