{"id":"GHSA-hqr9-c56f-3x7f","revision":null,"records":[{"revision":"088c1edb11f045d997017d732f1f33c3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-50555","aliases":[],"title":"Angular: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in @angular/platform-server","description":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25, a Cross-Site Scripting (XSS) vulnerability exists in @angular/platform-server's DOM emulation dependency (domino) when serializing the content of raw-text elements (such as <script>, <style>, and <iframe>). domino supports escaping raw-text elements during serialization to prevent closing-tag breakout. However, a Unicode index alignment bug existed in this escaping logic. In JavaScript, string lengths and character indices are calculated based on UTF-16 code units (where astral characters—such as emojis—occupy 2 code units / 4 bytes). If the bound dynamic text contained astral Unicode characters before the closing tag (e.g. </script>, </style>, or </iframe>), the index offset calculation in domino's replacement logic shifted. This misalignment caused domino to fail to replace or escape the closing tag, leaving it raw and unescaped in the output HTML. An attacker who controls the dynamic text can supply a payload containing both an astral Unicode character and a closing tag (e.g., \uD83D\uDE00</iframe><script>alert(1)</script>). When serialized on the server during SSR, the browser parses the unescaped closing tag, exits the raw-text context early, and executes the subsequent <script> block, leading to same-origin Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25.","state":0,"publishedAt":"2026-06-22T15:37:29.943+00:00","modifiedAt":"2026-06-22T17:58:33.065+00:00","affected":[{"ecosystem":"Vendor product","name":"angular","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"angular\",\n                    \"product\": \"angular\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 22.0.0-next.0, < 22.0.0-rc.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 21.0.0-next.0, < 21.2.16\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 20.0.0-next.0, < 20.3.24\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 19.0.0-next.0, < 19.2.25\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"<= 18.2.14\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"severity":"HIGH"}],"references":["https://github.com/angular/angular/security/advisories/GHSA-hqr9-c56f-3x7f","https://github.com/angular/domino/pull/29"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-50555","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-50555","identifiers":["CVE-2026-50555"]},"retained":false,"historicalAffected":[]},{"revision":"b34cdae63b2c4e7daf3df85ebf7c6ae0","observedAt":"2026-11-24T07:29:41.417+00:00","statement":{"source":"euvd","id":"EUVD-2026-38289","aliases":["CVE-2026-50555","GHSA-hqr9-c56f-3x7f"],"title":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25, a Cross-Site Scripting (XSS) vulnerability exists in @a…","description":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25, a Cross-Site Scripting (XSS) vulnerability exists in @angular/platform-server's DOM emulation dependency (domino) when serializing the content of raw-text elements (such as <script>, <style>, and <iframe>). domino supports escaping raw-text elements during serialization to prevent closing-tag breakout. However, a Unicode index alignment bug existed in this escaping logic. In JavaScript, string lengths and character indices are calculated based on UTF-16 code units (where astral characters—such as emojis—occupy 2 code units / 4 bytes). If the bound dynamic text contained astral Unicode characters before the closing tag (e.g. </script>, </style>, or </iframe>), the index offset calculation in domino's replacement logic shifted. This misalignment caused domino to fail to replace or escape the closing tag, leaving it raw and unescaped in the output HTML. An attacker who controls the dynamic text can supply a payload containing both an astral Unicode character and a closing tag (e.g., \uD83D\uDE00</iframe><script>alert(1)</script>). When serialized on the server during SSR, the browser parses the unescaped closing tag, exits the raw-text context early, and executes the subsequent <script> block, leading to same-origin Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"severity":null}],"references":["https://github.com/angular/angular/security/advisories/GHSA-hqr9-c56f-3x7f","https://github.com/angular/domino/pull/29"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38289","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 22, 2026, 3:37:29 PM","dateUpdated":"Jun 22, 2026, 5:58:33 PM"},"relatedAdvisories":[{"id":"WID-SEC-W-2026-1930","title":"Angular: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2026-50168","CVE-2026-50169","CVE-2026-50170","CVE-2026-50171","CVE-2026-50184","CVE-2026-50555","CVE-2026-50556","CVE-2026-50557","CVE-2026-52725","CVE-2026-54264","CVE-2026-54267"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-38289","identifiers":["EUVD-2026-38289","CVE-2026-50555","GHSA-hqr9-c56f-3x7f"]},"retained":false,"historicalAffected":[]},{"revision":"70cb8a2909084d2d9599b975af92b08f","observedAt":"2026-10-25T13:17:10.707+00:00","statement":{"source":"nvd","id":"CVE-2026-50555","aliases":[],"title":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25, a Cross-Site Scripting (XSS) vulnerability exists in @a…","description":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25, a Cross-Site Scripting (XSS) vulnerability exists in @angular/platform-server's DOM emulation dependency (domino) when serializing the content of raw-text elements (such as <script>, <style>, and <iframe>). domino supports escaping raw-text elements during serialization to prevent closing-tag breakout. However, a Unicode index alignment bug existed in this escaping logic. In JavaScript, string lengths and character indices are calculated based on UTF-16 code units (where astral characters—such as emojis—occupy 2 code units / 4 bytes). If the bound dynamic text contained astral Unicode characters before the closing tag (e.g. </script>, </style>, or </iframe>), the index offset calculation in domino's replacement logic shifted. This misalignment caused domino to fail to replace or escape the closing tag, leaving it raw and unescaped in the output HTML. An attacker who controls the dynamic text can supply a payload containing both an astral Unicode character and a closing tag (e.g., \uD83D\uDE00</iframe><script>alert(1)</script>). When serialized on the server during SSR, the browser parses the unescaped closing tag, exits the raw-text context early, and executes the subsequent <script> block, leading to same-origin Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25.","state":0,"publishedAt":"2026-06-22T18:16:43.057+00:00","modifiedAt":"2026-07-09T15:41:14.687+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":8.6,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/angular/angular/security/advisories/GHSA-hqr9-c56f-3x7f","https://github.com/angular/domino/pull/29"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-50555","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-79"],"productCriteria":["cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next0:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next1:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next10:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next11:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next12:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next2:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next3:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next4:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next5:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next6:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next7:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next8:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next9:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:rc0:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:rc1:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-06-22T18:16:43.057","lastModified":"2026-07-09T15:41:14.687"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-50555","identifiers":["CVE-2026-50555"]},"retained":false,"historicalAffected":[]},{"revision":"2f1f3bcac7614ccb9b3fdc9c967bfcb9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-hqr9-c56f-3x7f","aliases":["CVE-2026-50555"],"title":"@angular/platform-server: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"A Cross-Site Scripting (XSS) vulnerability exists in `@angular/platform-server`'s DOM emulation dependency (`domino`) when serializing the content of raw-text elements (such as `<script>`, `<style>`, and `<iframe>`).\n\n`domino` supports escaping raw-text elements during serialization to prevent closing-tag breakout. However, a **Unicode index alignment bug** existed in this escaping logic.\n\nIn JavaScript, string lengths and character indices are calculated based on UTF-16 code units (where astral characters—such as emojis—occupy 2 code units / 4 bytes). If the bound dynamic text contained astral Unicode characters _before_ the closing tag (e.g. `</script>`, `</style>`, or `</iframe>`), the index offset calculation in `domino`'s replacement logic shifted.\n\nThis misalignment caused `domino` to fail to replace or escape the closing tag, leaving it raw and unescaped in the output HTML.\n\nAn attacker who controls the dynamic text can supply a payload containing both an astral Unicode character and a closing tag (e.g., `\uD83D\uDE00</iframe><script>alert(1)</script>`). When serialized on the server during SSR, the browser parses the unescaped closing tag, exits the raw-text context early, and executes the subsequent `<script>` block, leading to same-origin Cross-Site Scripting (XSS).\n\n### Impact\n\nThis vulnerability allows an attacker to perform same-origin Cross-Site Scripting (XSS) attacks against any user visiting an SSR-rendered page that binds user-controlled data inside raw-text elements. This can lead to session hijacking, credentials theft, unauthorized actions on behalf of users, and defacement.\n\n### Patched Versions\n\n- 22.0.0-rc.2\n- 21.2.16\n- 20.3.24\n- 19.2.25\n\n### Workarounds\n\nIf you cannot immediately update your dependencies, you can:\n\n- Avoid binding user-controlled values inside `<iframe>` or other raw-text elements.\n- Sanitize any user input placed inside raw-text elements to explicitly strip closing tags before passing it to the template.","state":0,"publishedAt":"2026-06-15T17:20:30+00:00","modifiedAt":"2026-07-15T22:30:44.4790479+00:00","affected":[{"ecosystem":"npm","name":"@angular/platform-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"22.0.0-next.0"},{"kind":"fixed","version":"22.0.0-rc.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/platform-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"21.0.0-next.0"},{"kind":"fixed","version":"21.2.16"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/platform-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"20.0.0-next.0"},{"kind":"fixed","version":"20.3.24"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/platform-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"19.0.0-next.0"},{"kind":"fixed","version":"19.2.25"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/platform-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"18.2.14"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/angular/angular/security/advisories/GHSA-hqr9-c56f-3x7f","https://nvd.nist.gov/vuln/detail/CVE-2026-50555","https://github.com/angular/domino/pull/29","https://github.com/angular/angular"],"sourceUrl":"https://github.com/advisories/GHSA-hqr9-c56f-3x7f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hqr9-c56f-3x7f","identifiers":["GHSA-hqr9-c56f-3x7f","CVE-2026-50555"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-24T17:04:47.4804714+00:00","complete":true,"records":1792,"lastAttemptAt":"2026-11-24T17:04:47.4804714+00:00","lastSuccessAt":"2026-11-24T17:04:47.6742368+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.6742385+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-600ce772becc1d4ce622308dbd2b60df9622c5340b4a45800efcea2e9c73189d","complete":true,"records":431393,"lastAttemptAt":"2026-11-24T17:02:23.9676922+00:00","lastSuccessAt":"2026-11-24T17:02:23.6943427+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:02:23.9676922+00:00","snapshotPublishedAt":"2026-11-24T16:25:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e33d6231e5014c9fb4c048fd9d76b130","complete":false,"records":13935,"lastAttemptAt":"2026-11-24T17:06:18.5007375+00:00","lastSuccessAt":"2026-11-24T17:06:18.494+00:00","error":"154 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T17:06:18.494+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13817,"expectedIdentifiers":13982,"failedIdentifiers":154},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-24T17:04:47.4804714+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T17:04:47.4804714+00:00","lastSuccessAt":"2026-11-24T17:04:47.7024421+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.7024437+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7946001d36624d7b8f9f79d54c1473cb","complete":true,"records":13947,"lastAttemptAt":"2026-11-24T17:05:41.339011+00:00","lastSuccessAt":"2026-11-24T17:05:41.334+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:05:41.334+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13982,"expectedIdentifiers":13982,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c86437892ddabdeaf17409463a17578b1e71dd185d64061100dd57629858f6d6","complete":true,"records":10074,"lastAttemptAt":"2026-11-24T17:04:47.3038695+00:00","lastSuccessAt":"2026-11-23T22:27:19.6557603+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.3038695+00:00","snapshotPublishedAt":"2026-11-23T21:33:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-24T17:02:24.140762+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:02:24.140762+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-3afd4dd07a6bf352a6a53c4438150c464a2527017b95ca94804134ea15f1eba9","complete":true,"records":3220,"lastAttemptAt":"2026-11-24T17:04:47.4072828+00:00","lastSuccessAt":"2026-11-24T10:25:37.8779609+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.4072828+00:00","snapshotPublishedAt":"2026-11-24T09:33:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6f12e8b79470b8fce62bb9feb9da5ef52ddc12ae517dd075bd2ea4ca7dc38907","complete":true,"records":233023,"lastAttemptAt":"2026-11-24T17:04:47.1769968+00:00","lastSuccessAt":"2026-11-24T17:04:45.9179734+00:00","error":null,"lastVerifiedAt":"2026-11-24T17:04:47.1769968+00:00","snapshotPublishedAt":"2026-11-24T16:34:03+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}