CVE-2026-11998

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 .
Configurations

No configuration.

History

25 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (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.

Information

Published : 2026-06-24 21:16

Updated : 2026-10-25 22:10


NVD link : CVE-2026-11998

Mitre link : CVE-2026-11998

CVE.ORG link : CVE-2026-11998


JSON object : View

Products Affected

No product.

CWE
CWE-791

Incomplete Filtering of Special Elements

CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')