{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "19.2.25"
              },
              {
                "introduced": "20.0.0"
              },
              {
                "fixed": "20.3.25"
              },
              {
                "introduced": "21.0.0"
              },
              {
                "fixed": "21.2.17"
              },
              {
                "introduced": "22.0.0"
              },
              {
                "fixed": "22.0.1"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "40e2b5b4d13792ed7c46a1d22afcf6c12ac9c679"
            },
            {
              "fixed": "a075161392496629531812ff00762259aae03a98"
            },
            {
              "introduced": "00dcbf2eeb3fd18ed39148e4bc9e49a5b35cae0c"
            },
            {
              "fixed": "31c25e2e85704f12facd9b4b823aa54b943251eb"
            },
            {
              "introduced": "862d27f25c4d3bf2fe2918b76759f3f4a83563d1"
            },
            {
              "fixed": "3013982f754ee0adf3f4258d5ce763f98f9c0ba3"
            },
            {
              "fixed": "3c70270c96677c0dd33585f2afe8e187113e5fb4"
            }
          ],
          "repo": "https://github.com/angular/angular",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-58w9-8g37-x9v5"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54265.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "\u003e= 22.0.0-next.0 \u003c 22.0.1"
          },
          {
            "last_affected": "\u003e= 22.0.0-next.0 \u003c 22.0.1"
          },
          {
            "introduced": "\u003e= 21.0.0-next.0 \u003c 21.2.17"
          },
          {
            "last_affected": "\u003e= 21.0.0-next.0 \u003c 21.2.17"
          },
          {
            "introduced": "\u003e= 20.0.0-next.0 \u003c 20.3.25"
          },
          {
            "last_affected": "\u003e= 20.0.0-next.0 \u003c 20.3.25"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, an issue in the @angular/compiler package allows bypassing DOM property sanitization through the use of two-way property bindings. Specifically, when a native DOM property that requires sanitization (such as innerHTML, srcdoc, src, href, data, or sandbox) is bound using the two-way binding syntax (e.g., [(innerHTML)]=\"value\" or bindon-innerHTML=\"value\"), the Angular template compiler failed to apply the appropriate schema-derived sanitizer resolution to the TwoWayProperty operation. As a result, native two-way DOM bindings were emitted without the required sanitizer function, whereas equivalent one-way bindings would be properly sanitized. This flaw enables an attacker who can control the value of a two-way bound sensitive property to bypass Angular's built-in sanitization logic, potentially leading to client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.",
  "id": "CVE-2026-54265",
  "modified": "2026-07-11T03:54:29.770950857Z",
  "published": "2026-06-22T15:27:38.802Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54265.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/angular/angular/security/advisories/GHSA-58w9-8g37-x9v5"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54265"
    },
    {
      "type": "FIX",
      "url": "https://github.com/angular/angular/commit/3c70270c96677c0dd33585f2afe8e187113e5fb4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/angular/angular/pull/69107"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Angular: Two-Way Property Binding Sanitization Bypass (XSS)"
}