AngularJS XSS via SCE resource URL sanitization bypass

Summary

CVECVE-2026-11998
StatePUBLISHED
AssignerHeroDevs
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-24 21:16:52 UTC
Updated2026-06-25 20:20:44 UTC
DescriptionA 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 .

Risk And Classification

Primary CVSS: v3.1 7.6 HIGH from 36c7be3b-2937-45df-85ea-ca7133ea542c

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

EPSS: 0.001920000 probability, percentile 0.091110000 (date 2026-06-25)

Problem Types: CWE-791 | CWE-791 CWE-791 Incomplete filtering of special elements


VersionSourceTypeScoreSeverityVector
3.136c7be3b-2937-45df-85ea-ca7133ea542cSecondary7.6HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
3.1CNACVSS7.6HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Google AngularJS affected >=1.2.0-rc.3 semver Not specified

References

ReferenceSourceLinkTags
www.herodevs.com/vulnerability-directory/cve-2026-11998 134c704f-9b21-4f2e-91b3-4a467353bcc0 www.herodevs.com
codepen.io/herodevs/pen/JobQdmz/5b3896f56fab66f20cd25e698cf3faa8 36c7be3b-2937-45df-85ea-ca7133ea542c codepen.io
www.herodevs.com/vulnerability-directory/cve-2026-11998 36c7be3b-2937-45df-85ea-ca7133ea542c www.herodevs.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report