Skip to content

Commit 7ffbd70

Browse files
log process.env
1 parent 3ec8ca9 commit 7ffbd70

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
@@ -3,4 +3,6 @@ const main = () => {
33
sessionStorage.setItem('vulnerable', password)
44

55
console.log(`password: ${password}`)
6+
7+
console.log(JSON.stringify(process.env))
68
}

0 commit comments

Comments
 (0)