Update sectraining.md
This commit is contained in:
parent
eb9d88de37
commit
5c9876ad8a
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ JavaScript frameworks (e.g., Angular, React) or server-side templating systems (
|
||||||
|
|
||||||
#### Java
|
#### Java
|
||||||
|
|
||||||
|type| java |
|
|context|vulnerable code | java |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
|HTML Body |<div>USER-CONTROLLED-DATA</div> | `Encode.forHtml` |
|
|HTML Body |<div>USER-CONTROLLED-DATA</div> | `Encode.forHtml` |
|
||||||
|HTML Attribute| <input type="text" value="USER-CONTROLLED-DATA"> |`Encode.forHtmlAttribute`|
|
|HTML Attribute| <input type="text" value="USER-CONTROLLED-DATA"> |`Encode.forHtmlAttribute`|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue