{
  "id": "CVE-2026-50556",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-50556",
  "published_at": "2026-06-22T15:38:28.166Z",
  "title": "Angular: Missing `\u003cnoscript\u003e` Raw-Text Serialization Escaping leads to Cross-Site Scripting (XSS) in Angular SSR",
  "vendor": "angular",
  "product": "angular",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 \u003cnoscript\u003e elements. When rendering dynamic text content inside a \u003cnoscript\u003e element via template bindings (such as {{ value }} or [textContent]), the template engine expects the browser to render the content safely. Under Server-Side Rendering (SSR), domino is configured with scripting enabled, meaning \u003cnoscript\u003e is treated as a raw-text element. However, domino's serializer completely omitted \u003cnoscript\u003e from the list of raw-text elements requiring closing-tag escaping during DOM serialization. As a result, any occurrence of \u003c/noscript\u003e in the bound dynamic text was never escaped under any circumstances. The unescaped closing tag was serialized directly into the output HTML (e.g. \u003cnoscript\u003e\u003c/noscript\u003e\u003cscript\u003ealert(1)\u003c/script\u003e\u003c/noscript\u003e). When parsed by a browser, it closes the \u003cnoscript\u003e block early, allowing the injected \u003cscript\u003e block to execute in the user's browser context, causing 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.",
  "cwe": "CWE-79",
  "cpes": [
    "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: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:next1:*:*:*: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:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6,
    "nvd": 6.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "angular",
        "product": "angular",
        "ranges": [
          "\u003e= 22.0.0-next.0, \u003c 22.0.0-rc.2",
          "\u003e= 21.0.0-next.0, \u003c 21.2.16",
          "\u003e= 20.0.0-next.0, \u003c 20.3.24",
          "\u003e= 19.0.0-next.0, \u003c 19.2.25",
          "\u003c= 18.2.14"
        ],
        "fixed_in": [
          "22.0.0-rc.2",
          "21.2.16",
          "20.3.24",
          "19.2.25"
        ]
      }
    ],
    "upgrade": [
      "Upgrade angular to 22.0.0-rc.2 or 21.2.16 or 20.3.24 or 19.2.25 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qx"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/angular/domino/pull/29"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
