{"cve":"CVE-2026-88057","nvd":{"published":"2026-09-10T19:17:41.627","modified":"2026-09-29T19:02:03.160","status":"Analyzed","description":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.28, 21.2.20, and 22.1.0, Angular's compiler and runtime in @angular/core and @angular/compiler could omit or select an incorrect sanitizer for security-sensitive directive host bindings because SecurityContext was derived from the declaring directive or component selector rather than the concrete host element. The mismatch is reachable through hostDirectives composition, inherited HostBinding declarations, createComponent with a custom hostElement or dynamic directives, SVG/MathML namespace elements, and tag-neutral selectors such as :not(...). Attacker-controlled href, src, action, xlink:href, or data values can therefore reach DOM attributes without Angular's built-in sanitizer and execute arbitrary JavaScript in the user's browser context. Applications unable to upgrade can use DomSanitizer.sanitize with SecurityContext.URL before assignment or restrict inputs to validated HTTP and HTTPS URL schemes. This issue is fixed in versions 20.3.28, 21.2.20, and 22.1.0.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/angular/angular/commit/2f96c8020f85ccb715a76de4b79a0c680c2c7264","https://github.com/angular/angular/commit/6afe6fa781c2f0931f0aedd729b9884a8fe212ee","https://github.com/angular/angular/commit/6caa298dee58319b2d674dc91364e26ffe3ecb2b","https://github.com/angular/angular/issues/69550","https://github.com/angular/angular/pull/69558"],"products":["angular:angular"],"source":"nvd","synced_at":"2026-10-19T22:52:53.108888569+00:00"},"epss":{"cve":"CVE-2026-88057","score":0.00372,"percentile":0.31186,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-hh8m-fm6v-7cvg","url":"https://osv.dev/vulnerability/GHSA-hh8m-fm6v-7cvg","summary":"Angular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compiler","modified":"2026-09-10T20:30:04.438198416Z","packages":[{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","ranges":[">=22.0.0 <22.1.0"],"fixed":["22.1.0"]},{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":[">=22.0.0 <22.1.0"],"fixed":["22.1.0"]},{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","ranges":[">=21.0.0 <21.2.20"],"fixed":["21.2.20"]},{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":[">=21.0.0 <21.2.20"],"fixed":["21.2.20"]},{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","ranges":[">=20.0.0 <20.3.28"],"fixed":["20.3.28"]},{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":[">=20.0.0 <20.3.28"],"fixed":["20.3.28"]},{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","ranges":["<=19.2.25"],"fixed":[]},{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":["<=19.2.25"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}