# CVE-2026-54265: Angular: Two-Way Property Binding Sanitization Bypass (XSS)

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-06-15T17:22:40.000Z
- Modified: 2026-09-10T03:51:07.859Z
- Also known as: GHSA-58w9-8g37-x9v5
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- angular angular: >= 22.0.0-next.0 < 22.0.1; >= 21.0.0-next.0 < 21.2.17; >= 20.0.0-next.0 < 20.3.25; <= 19.2.25; up to 19.2.25; from 20.0.0 before 20.3.25; from 21.0.0 before 21.2.17; from 22.0.0 before 22.0.1
- @angular/compiler (npm): from 22.0.0-next.0 before 22.0.1; from 21.0.0-next.0 before 21.2.17; from 20.0.0-next.0 before 20.3.25; up to 19.2.25

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-58w9-8g37-x9v5> (third-party-advisory, web)
- <https://github.com/angular/angular/pull/69107> (issue-tracking, patch, web)
- <https://github.com/angular/angular/commit/3c70270c96677c0dd33585f2afe8e187113e5fb4> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54265> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-54265](https://www.cve.org/CVERecord?id=CVE-2026-54265), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-58w9-8g37-x9v5](https://github.com/advisories/GHSA-58w9-8g37-x9v5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54265](https://nvd.nist.gov/vuln/detail/CVE-2026-54265), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2026-54265 · Whole record: https://cve.day/CVE-2026-54265.json · Rebuilt by cve.day 2026-11-25T22:59:25.373Z
