Protection Bypass Affecting angularjs package, versions [,1.2.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Protection Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-ANGULARJS-10771341
  • published17 Jul 2025
  • disclosed12 Nov 2013
  • creditChirayu Krishnappa

Introduced: 12 Nov 2013

CVE NOT AVAILABLE CWE-284  (opens in a new tab)

How to fix?

Upgrade angularjs to version 1.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Protection Bypass via ng-attr-action and ng-attr-srcdoc allowing binding to Javascript. The fix was to require bindings to form[action] to be $sce.RESOURCE_URL and bindings to iframe[srcdoc] to be $sce.HTML

CVSS Base Scores

version 3.1