CVE-2016-10547

Source
https://cve.org/CVERecord?id=CVE-2016-10547
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10547.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-10547
Aliases
Published
2018-05-31T20:29:01.737Z
Modified
2026-03-10T13:55:31.028230Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Nunjucks is a full featured templating engine for JavaScript. Versions 2.4.2 and lower have a cross site scripting (XSS) vulnerability in autoescape mode. In autoescape mode, all template vars should automatically be escaped. By using an array for the keys, such as name[]=<script>alert(1)</script>, it is possible to bypass autoescaping and inject content into the DOM.

References

Affected packages

Git / github.com/mozilla/nunjucks

Affected ranges

Type
GIT
Repo
https://github.com/mozilla/nunjucks
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.4.2"
        }
    ]
}

Affected versions

1.*
1.3.4
v.*
v.1.3.1
v0.*
v0.1.0
v0.1.1
v0.1.10
v0.1.2
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.1.0
v1.2.0
v1.3.0
v1.3.2
v1.3.3
v1.3.4
v2.*
v2.0.0
v2.1.0
v2.2.0
v2.3.0
v2.4.0
v2.4.1
v2.4.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10547.json"