Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-5219

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-5219
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:29 UTC · Revision 1

Source evidence

CVE-2020-5219

core-osv · Original source

Published 24 Jan 2020, 16:15 UTC

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.

osv:CVE-2020-5219
Complete source record
{
  "id": "638225326c2446a955675c829609f1adca197848f823177c2b6a0cdd46125335",
  "url": "https://osv.dev/vulnerability/CVE-2020-5219",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-5219",
    "summary": "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.",
    "evidence": "osv:CVE-2020-5219",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-5219",
      "aliases": [
        "CVE-2020-5219",
        "GHSA-hxhm-96pp-2m43"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/peerigon/angular-expressions",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c12c668c77258efcb15ab0d66de5f7ccfba36fe7"
                },
                {
                  "fixed": "061addfb9a9e932a970e5fcb913d020038e65667"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:peerigon:angular-expressions:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "061addfb9a9e932a970e5fcb913d020038e65667"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5219.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:22.798586418Z",
      "provider": "osv",
      "references": [
        "https://github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43",
        "https://github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-5219",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385247,
  "published_at": "2020-01-24T16:15:11.473+00:00"
}