{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2020-5219",
        "STATE": "PUBLIC",
        "TITLE": "Remote Code Execution in Angular Expressions"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "angular-expressions",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 1.0.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "peerigon"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "reported by GoSecure Inc"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Angular Expressions before version 1.0.1 has a remote code execution vulnerability if you call expressions.compile(userControlledInput) where userControlledInput is text that comes from user input. If running angular-expressions in the browser, an attacker could run any browser script when the application code calls expressions.compile(userControlledInput). If running angular-expressions on the server, an attacker could run any Javascript expression, thus gaining Remote Code Execution."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43",
                "refsource": "CONFIRM",
                "url": "https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43"
            },
            {
                "name": "https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667",
                "refsource": "MISC",
                "url": "https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667"
            },
            {
                "name": "http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html",
                "refsource": "MISC",
                "url": "http://blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-hxhm-96pp-2m43",
        "discovery": "UNKNOWN"
    }
}