Skip to content

Commit 4b0d504

Browse files
logs
1 parent 84d57a5 commit 4b0d504

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CWE-312/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
const main = () => {
22
const password = sessionStorage.getItem('vulnerable')
33
sessionStorage.setItem('vulnerable', password)
4+
5+
console.log(`password: ${password}`)
46
}

0 commit comments

Comments
 (0)