{"id":"CVE-2026-54265","state":"PUBLISHED","title":"Angular: Two-Way Property Binding Sanitization Bypass (XSS)","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.","publishedAt":"2026-06-22T15:27:38.802Z","updatedAt":"2026-06-22T15:54:58.231Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["angular angular"],"affected":[{"vendor":"angular","product":"angular","versions":[{"version":">= 22.0.0-next.0 < 22.0.1","status":"affected"},{"version":">= 21.0.0-next.0 < 21.2.17","status":"affected"},{"version":">= 20.0.0-next.0 < 20.3.25","status":"affected"},{"version":"<= 19.2.25","status":"affected"}]}],"references":["https://github.com/angular/angular/security/advisories/GHSA-58w9-8g37-x9v5","https://github.com/angular/angular/pull/69107","https://github.com/angular/angular/commit/3c70270c96677c0dd33585f2afe8e187113e5fb4"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54265.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54265","state":"PUBLISHED","datePublished":"2026-06-22T15:27:38.802Z","dateUpdated":"2026-06-22T15:54:58.231Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-12T17:13:32.279Z"},"containers":{"cna":{"title":"Angular: Two-Way Property Binding Sanitization Bypass (XSS)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"angular","product":"angular","versions":[{"version":">= 22.0.0-next.0 < 22.0.1","status":"affected"},{"version":">= 21.0.0-next.0 < 21.2.17","status":"affected"},{"version":">= 20.0.0-next.0 < 20.3.25","status":"affected"},{"version":"<= 19.2.25","status":"affected"}]}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-58w9-8g37-x9v5","name":"https://github.com/angular/angular/security/advisories/GHSA-58w9-8g37-x9v5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/pull/69107","name":"https://github.com/angular/angular/pull/69107","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/3c70270c96677c0dd33585f2afe8e187113e5fb4","name":"https://github.com/angular/angular/commit/3c70270c96677c0dd33585f2afe8e187113e5fb4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-22T15:27:38.802Z"},"source":{"advisory":"GHSA-58w9-8g37-x9v5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-22T15:54:52.170678Z","id":"CVE-2026-54265","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-22T15:54:58.231Z"}}]}}}