ADVISORIES

Vulnerability

CVE-2023-2142

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1Ubuntu 1npm 1

Advisories

  • DEBIAN-CVE-2023-2142

    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,…

    CVE-2023-2142 Debian Updated 26 October 2026
  • GHSA-x77j-w7wf-fjmw

    Nunjucks autoescape bypass leads to cross site scripting

    Moderate CVE-2023-2142 npm Updated 26 November 2024
  • UBUNTU-CVE-2023-2142

    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,…

    CVE-2023-2142 Ubuntu Updated 17 October 2026

References