Medium severity6.1NVD Advisory· Published Nov 26, 2024· Updated Jun 17, 2026
CVE-2023-2142
CVE-2023-2142
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nunjucksnpm | < 3.2.4 | 3.2.4 |
Affected products
3cpe:2.3:a:mozilla:nunjucks:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:mozilla:nunjucks:*:*:*:*:*:*:*:*range: <3.2.4
- (no CPE)range: 0
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-x77j-w7wf-fjmwghsaADVISORY
- github.com/mozilla/nunjucks/security/advisories/GHSA-x77j-w7wf-fjmwnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-2142ghsaADVISORY
- bugzilla.mozilla.org/show_bug.cginvdIssue TrackingPermissions RequiredWEB
- github.com/mozilla/nunjucks/commit/ec16d210e7e13f862eccdb0bc9af9f60ff6749d6ghsaWEB
- github.com/mozilla/nunjucks/pull/1437ghsaWEB
- github.com/mozilla/nunjucks/releases/tag/v3.2.4ghsaWEB
News mentions
0No linked articles in our index yet.