Skip to content
Heist/ feed
Back to feed
Critical

Angular Expressions - Remote Code Execution when using locals

Type: advisorySources: OSV

Angular Expressions provides expressions for the Angular.JS web framework as a standalone module. Prior to version 1.4.3, an attacker can write a malicious expression that escapes the sandbox to execute arbitrary code on the system. With a more complex (undisclosed) payload, one can get full access to Arbitrary code execution on the system. The problem has been patched in version 1.4.3 of Angular Expressions. Two possible workarounds are available. One may either disable access to `__proto__` globally or make sure that one uses the function with just one argument.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-54152
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:07 UTC · Revision 1

Source evidence

Angular Expressions - Remote Code Execution when using locals

core-osv · Original source

Published 10 Dec 2024, 15:37 UTC

Angular Expressions provides expressions for the Angular.JS web framework as a standalone module. Prior to version 1.4.3, an attacker can write a malicious expression that escapes the sandbox to execute arbitrary code on the system. With a more complex (undisclosed) payload, one can get full access to Arbitrary code execution on the system. The problem has been patched in version 1.4.3 of Angular Expressions. Two possible workarounds are available. One may either disable access to `__proto__` globally or make sure that one uses the function with just one argument.

osv:CVE-2024-54152
Complete source record
{
  "id": "9cbfc9135526246402a28dec6d23f246ceba4ec7fe9982da63f834f5761f05b8",
  "url": "https://osv.dev/vulnerability/CVE-2024-54152",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Angular Expressions - Remote Code Execution when using locals",
    "summary": "Angular Expressions provides expressions for the Angular.JS web framework as a standalone module. Prior to version 1.4.3, an attacker can write a malicious expression that escapes the sandbox to execute arbitrary code on the system. With a more complex (undisclosed) payload, one can get full access to Arbitrary code execution on the system. The problem has been patched in version 1.4.3 of Angular Expressions. Two possible workarounds are available. One may either disable access to `__proto__` globally or make sure that one uses the function with just one argument.",
    "evidence": "osv:CVE-2024-54152",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-54152",
      "aliases": [
        "CVE-2024-54152",
        "GHSA-5462-4vcx-jh7j"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/peerigon/angular-expressions",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e422a8c9abd22c7c450131f89283515f68893daa"
                },
                {
                  "fixed": "97f7ad94006156eeb97fc942332578b6cfbf8eef"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.4.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "97f7ad94006156eeb97fc942332578b6cfbf8eef"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.4.2",
            "v1.4.0",
            "v1.3.0",
            "v1.2.1",
            "v1.2.0",
            "v1.1.10",
            "v1.1.9",
            "v1.1.8",
            "v1.1.7",
            "v1.1.6",
            "v1.1.5",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-54152.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.451612248Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54152.json",
        "https://github.com/peerigon/angular-expressions/security/advisories/GHSA-5462-4vcx-jh7j",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-54152",
        "https://github.com/peerigon/angular-expressions/commit/97f7ad94006156eeb97fc942332578b6cfbf8eef"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54152.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-54152",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521201,
  "published_at": "2024-12-10T15:37:51.48+00:00"
}