File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
javascript/ql/src/Security/CWE-915 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929
3030 <p >
3131 Only merge or assign a property recursively when it is an own property of the <em >destination</em > object.
32- Alternatively, deny the property names <code >__proto__</code > and <code >constructor</code >
32+ Alternatively, block the property names <code >__proto__</code > and <code >constructor</code >
3333 from being merged or assigned to.
3434 </p >
3535</recommendation >
5454 <sample src =" examples/PrototypePollutingFunction_fixed.js" />
5555
5656 <p >
57- Alternatively, deny the <code >__proto__</code > and <code >constructor</code > properties:
57+ Alternatively, block the <code >__proto__</code > and <code >constructor</code > properties:
5858 </p >
5959
6060 <sample src =" examples/PrototypePollutingFunction_fixed2.js" />
You can’t perform that action at this time.
0 commit comments