generated from ossf/project-template
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak lab insecure-deserialization (#668)
* Tweak lab insecure-deserialization Signed-off-by: David A. Wheeler <[email protected]> * Fix XSS vulnerabilities in lab code res.send must *NOT* be used with untrusted user code, as this leads to XSS vulnerabilities. Use res.render instead. See: * https://expressjs.com/en/api.html * https://www.geeksforgeeks.org/express-js-res-render-function/ * https://semgrep.dev/docs/cheat-sheets/express-xss Signed-off-by: David A. Wheeler <[email protected]> * Use textarea for long lab inputs Signed-off-by: David A. Wheeler <[email protected]> * Shorten lab name Signed-off-by: David A. Wheeler <[email protected]> * Fix name in lab Signed-off-by: David A. Wheeler <[email protected]> * Lab README - add new deserialization lab Signed-off-by: David A. Wheeler <[email protected]> * Improve hints in lab deserialization Signed-off-by: David A. Wheeler <[email protected]> * Minor tweaks of lab deserialization Signed-off-by: David A. Wheeler <[email protected]> * Lab deserialization: Allow more variation Allow sub-conditions to be surrounded by parentheses. Signed-off-by: David A. Wheeler <[email protected]> --------- Signed-off-by: David A. Wheeler <[email protected]>
- Loading branch information
1 parent
89db94d
commit fd01531
Showing
2 changed files
with
113 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters