CVE-2025-66412

NameCVE-2025-66412
DescriptionAngular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 21.0.2, 20.3.15, and 19.2.17, A Stored Cross-Site Scripting (XSS) vulnerability has been identified in the Angular Template Compiler. It occurs because the compiler's internal security schema is incomplete, allowing attackers to bypass Angular's built-in security sanitization. Specifically, the schema fails to classify certain URL-holding attributes (e.g., those that could contain javascript: URLs) as requiring strict URL security, enabling the injection of malicious scripts. This vulnerability is fixed in 21.0.2, 20.3.15, and 19.2.17.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
angular.js (PTS)bullseye1.8.2-2fixed
bullseye (security)1.8.3-1+deb12u1~deb11u1fixed
bookworm1.8.3-1+deb12u1fixed
forky, sid, trixie1.8.3-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
angular.jssource(unstable)(not affected)

Notes

- angular.js <not-affected> (vulnerable code introduced later in @angular/compiler)
https://github.com/angular/angular/security/advisories/GHSA-v4hv-rgfq-gp49
https://github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4893a

Search for package or bug name: Reporting problems