CVE-2026-11998
JSON

7.6high

AngularJS XSS via SCE resource URL sanitization bypass

Severity
7.6high CVSS:3.1 by HeroDevs
Exploit likelihood
0.50% (higher than 36% of CVEs)
Published
Last changed
Assigned by
HeroDevs
Also known as
GHSA-7x27-g8rg-x87w

Description

A flaw in AngularJS' Strict Contextual Escaping (SCE) logic allows bypassing certain SCE policies for resource URLs and can lead to arbitrary JavaScript execution within the context of the victim's browser session. SCE's purpose is to ensure that only trusted or safe values are used in certain security-sensitive contexts, such as resource URLs, including URLs that define executable JavaScript scripts, '<iframe>' documents, route templates, etc. A flaw in the logic that tries to match entire URLs against regular expression matchers can result in partial matches for certain types of regular expressions, effectively bypassing the policies and allowing the use of unsafe values as resource URLs. This issue affects AngularJS versions greater than or equal to 1.2.0-rc.3. Note: The AngularJS project was already End-of-Life when this CVE was published and will not receive any updates to address this issue. For more information see the  End-of-Life announcement https://docs.angularjs.org/misc/version-support-status .

Affected

Product or packageVersionsReported by
angular>=1.2.0-rc.3CVE List
firefoxNot specifiedCVE List
gjsNot specifiedCVE List
grafanaNot specifiedCVE List
thunderbirdNot specifiedCVE List
mozjs60Not specifiedCVE List
qpid-dispatchNot specifiedCVE List
quay/quay-rhel8Not specifiedCVE List
quay/quay-rhel9Not specifiedCVE List
angular (npm)from 1.2.0-rc.3 up to 1.8.3GitHub Advisory Database

All scores

HeroDevs7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
redhat-SADP7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
GitHub7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Classification

CWE-79CWE-791

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

A flaw in AngularJS' Strict Contextual Escaping (SCE) logic allows bypassing certain SCE policies for resource URLs and can lead to arbitrary JavaScript execution within the context of the victim's browser session. SCE's purpose is to ensure that only trusted or safe values are used in certain security-sensitive contexts, such as resource URLs, including URLs that define executable JavaScript scripts, '<iframe>' documents, route templates, etc. A flaw in the logic that tries to match entire URLs against regular expression matchers can result in partial matches for certain types of regular expressions, effectively bypassing the policies and allowing the use of unsafe values as resource URLs. This issue affects AngularJS versions greater than or equal to 1.2.0-rc.3. Note: The AngularJS project was already End-of-Life when this CVE was published and will not receive any updates to address this issue. For more information see the  End-of-Life announcement https://docs.angularjs.org/misc/version-support-status .

NVD (es)

Un fallo en la lógica de Strict Contextual Escaping (SCE) de AngularJS permite eludir ciertas políticas de SCE para URLs de recursos y puede conducir a la ejecución arbitraria de JavaScript dentro del contexto de la sesión del navegador de la víctima. El propósito de SCE es asegurar que solo se utilicen valores confiables o seguros en ciertos contextos sensibles a la seguridad, como URLs de recursos, incluyendo URLs que definen scripts JavaScript ejecutables, documentos ’[iframe_tag]’, plantillas de ruta, etc. Un fallo en la lógica que intenta hacer coincidir URLs completas con comparadores de expresiones regulares puede resultar en coincidencias parciales para ciertos tipos de expresiones regulares, eludiendo efectivamente las políticas y permitiendo el uso de valores no seguros como URLs de recursos. Este problema afecta a las versiones de AngularJS mayores o iguales a 1.2.0-rc.3. Nota: El proyecto AngularJS ya había llegado a su Fin de Vida Útil (End-of-Life) cuando se publicó este CVE y no recibirá ninguna actualización para abordar este problema. Para más información, consulte el anuncio de Fin de Vida Útil (End-of-Life) https://docs.angularjs.org/misc/version-support-status.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-11998 changed 2026-08-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-7x27-g8rg-x87w changed 2026-07-17CC-BY-4.0
NVDCVE-2026-11998 changed 2026-10-25Public domain