mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings
synced 2025-12-06 17:02:53 +01:00
Merge pull request #701 from Vunnm/patch-1
specify condition to perform Angular JS Injection
This commit is contained in:
commit
f96c1e4356
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ The following payloads are based on Client Side Template Injection.
|
||||||
|
|
||||||
### Stored/Reflected XSS - Simple alert in AngularJS
|
### Stored/Reflected XSS - Simple alert in AngularJS
|
||||||
|
|
||||||
|
`ng-app` directive must be present in a root element to allow the client-side injection (cf. [AngularJS: API: ngApp](https://docs.angularjs.org/api/ng/directive/ngApp)).
|
||||||
|
|
||||||
> AngularJS as of version 1.6 have removed the sandbox altogether
|
> AngularJS as of version 1.6 have removed the sandbox altogether
|
||||||
|
|
||||||
AngularJS 1.6+ by [Mario Heiderich](https://twitter.com/cure53berlin)
|
AngularJS 1.6+ by [Mario Heiderich](https://twitter.com/cure53berlin)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue