GHSA-x77j-w7wf-fjmw · Severity: medium · Ecosystem: npm — Nunjucks autoescape bypass leads to cross site scripting
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.
Conclusion & alert: CVE-2023-2142 is rated Low Risk (34.1/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.36%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.22% | 0.36% | +0.14% |
| 2 | 2026-05-29 | 0.28% | 0.22% | -0.07% |
| 3 | 2026-05-27 | — | 0.28% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
GHSA-x77j-w7wf-fjmw · Severity: medium · Ecosystem: npm — Nunjucks autoescape bypass leads to cross site scripting
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2023-2142 not yet assigned priority: Debian including 1 source packages (node-nunjucks), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 3, open 1. | https://security-tracker.debian.org/tracker/CVE-2023-2142 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2023-2142 |
ubuntu
|
medium | CVE-2023-2142 medium priority: Ubuntu including 1 source packages (node-nunjucks), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 3, DNE 2, ignored 2. | https://ubuntu.com/security/CVE-2023-2142 |
| URL | Tags |
|---|---|
| https://bugzilla.mozilla.org/show_bug.cgi?id=1825980 | Issue Tracking Permissions Required |
| https://github.com/mozilla/nunjucks/security/advisories/GHSA-x77j-w7wf-fjmw | Vendor Advisory |