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.
Remediation
References
https://bugzilla.mozilla.org/show_bug.cgi?id=1825980
https://github.com/mozilla/nunjucks/security/advisories/GHSA-x77j-w7wf-fjmw
Related Vulnerabilities
CVE-2022-45685 Vulnerability in maven package org.codehaus.jettison:jettison
CVE-2018-12537 Vulnerability in maven package io.vertx:vertx-core
CVE-2019-1003041 Vulnerability in maven package org.jenkins-ci.plugins:script-security
CVE-2021-21315 Vulnerability in npm package systeminformation
CVE-2021-29943 Vulnerability in maven package org.apache.solr:solr-core