Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-50557

Type: advisorySource: OSV1 source record

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.15, 20.3.22 and 19.2.22, an issue in the @angular/compiler and @angular/core packages allows bypassing element and attribute sanitization/validation through specific namespace workarounds. Specifically, namespaced script elements (e.g., or <:svg:script>) were not properly identified as script elements by the Angular template preparser, allowing them to pass through template compilation without being stripped. Furthermore, security context schema mappings for element attributes did not consistently handle attributes within namespaced elements (like SVG and MathML), opening up gaps where malicious namespaced attributes could bypass runtime and compile-time sanitizers. Combined, these flaws enable an attacker who can inject or supply a template/tag structure with custom namespaces to bypass Angular's script-stripping logic and attribute sanitizers, leading to client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22 and 19.2.22.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-50557

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-50557

angular.js

Source reference: /affected/0/package/name

Affected versions
1.8.3-1

Source reference: /affected/0/versions

1.8.3-1+deb12u1

Source reference: /affected/0/versions

1.8.3-1+deb12u1~deb11u1

Source reference: /affected/0/versions

1.8.3-2

Source reference: /affected/0/versions

1.8.3-3

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

angular.js

Source reference: /affected/1/package/name

Affected versions
1.8.3-3

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "angular.js",
      "purl": "pkg:deb/debian/angular.js?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "1.8.3-1",
      "1.8.3-1+deb12u1",
      "1.8.3-1+deb12u1~deb11u1",
      "1.8.3-2",
      "1.8.3-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50557.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "angular.js",
      "purl": "pkg:deb/debian/angular.js?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "1.8.3-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50557.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#57283 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement