---
title: "CVE-2023-2142: Mozilla Nunjucks Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2023-2142: Mozilla Nunjucks Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2023-2142 is a published software vulnerability affecting Mozilla Nunjucks. CVSS base score: 6.1 (MEDIUM). Published November 26, 2024 by mozilla. 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 \\.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2023-2142
- Status: Published
- Affected vendor: Mozilla
- Affected product: Nunjucks
- Assigner CNA: mozilla
- Published date: November 26, 2024
- Last updated: November 27, 2024
- CVSS base score: 6.1 (MEDIUM)
- CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness (CWE): CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Mental health clinics in the United States](https://specstream.ai/data/businesses/mental-health-clinics/united-states)
- [B2B power plants and power plant companies in the United States](https://specstream.ai/data/businesses/b2b-power-plants-and-power-plant-companies/united-states)
- [Liquor stores in the United States](https://specstream.ai/data/businesses/liquor-stores/united-states)
- [Audiology clinics in the United States](https://specstream.ai/data/businesses/audiology-clinics/united-states)
- [Irish pubs in the United States](https://specstream.ai/data/businesses/irish-pubs/united-states)
- [Advertising agencies in the United States](https://specstream.ai/data/businesses/advertising-agencies/united-states)
