{
    "CVE_data_meta": {
        "ASSIGNER": "support@hackerone.com",
        "DATE_PUBLIC": "2018-04-26T00:00:00",
        "ID": "CVE-2016-10547",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "nunjucks node module",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "<=2.4.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "HackerOne"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Cross-site Scripting (XSS) - Generic (CWE-79)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/mozilla/nunjucks/issues/835",
                "refsource": "MISC",
                "url": "https://github.com/mozilla/nunjucks/issues/835"
            },
            {
                "name": "https://nodesecurity.io/advisories/147",
                "refsource": "MISC",
                "url": "https://nodesecurity.io/advisories/147"
            },
            {
                "name": "https://github.com/matt-/nunjucks_test",
                "refsource": "MISC",
                "url": "https://github.com/matt-/nunjucks_test"
            }
        ]
    }
}