1
0
Fork 0
mirror of https://github.com/swisskyrepo/PayloadsAllTheThings.git synced 2024-05-04 06:46:13 +02:00

Merge pull request #701 from Vunnm/patch-1

specify condition to perform Angular JS Injection
This commit is contained in:
Swissky 2024-01-05 10:23:50 +01:00 committed by GitHub
commit f96c1e4356
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,8 @@ The following payloads are based on Client Side Template Injection.
### 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 1.6+ by [Mario Heiderich](https://twitter.com/cure53berlin)