CWE: 95 (Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'))
This call to eval() contains untrusted input or potentially untrusted data. If this input could be modified by an attacker, arbitrary JS code could be executed. Validate all untrusted and untrusted input to ensure that it conforms to the expected format, using centralized data validation routines when possible. In general, avoid executing code derived from untrusted input.References: CWE/nDon't know how to fix this? Don't know why this was reported? Get Assistance from Veracode
https://github.com/tsaekaoOrg/nodegoat/blob/94315c5421ccfc8451501ccc4c679d6e99004688/app/routes/contributions.js#L21-L31
Filename: app/routes/contributions.js
Line: 26
CWE: 95 (Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'))
This call to eval() contains untrusted input or potentially untrusted data. If this input could be modified by an attacker, arbitrary JS code could be executed. Validate all untrusted and untrusted input to ensure that it conforms to the expected format, using centralized data validation routines when possible. In general, avoid executing code derived from untrusted input. References: CWE/nDon't know how to fix this? Don't know why this was reported?
Get Assistance from Veracode