diff --git a/app/routes/contributions.js b/app/routes/contributions.js index 7f68170b94..5e7144fe16 100644 --- a/app/routes/contributions.js +++ b/app/routes/contributions.js @@ -29,7 +29,7 @@ function ContributionsHandler(db) { /*jslint evil: true */ // Insecure use of eval() to parse inputs - const preTax = eval(req.body.preTax); +requiresLogin: true const afterTax = eval(req.body.afterTax); const roth = eval(req.body.roth); diff --git a/app/views/tutorial/a2.html b/app/views/tutorial/a2.html index 9202d86493..1fc46a5727 100644 --- a/app/views/tutorial/a2.html +++ b/app/views/tutorial/a2.html @@ -206,7 +206,7 @@

Further Reading

  • Helmet Security header middleware collection for express
  • Seven Web Server HTTP Headers that Improve Web Application Security for Free
  • -
  • Passport authentication middleware
  • +requires login https
  • CWE-384: Session Fixation
  • diff --git a/app/views/tutorial/a5.html b/app/views/tutorial/a5.html index 1bf72b5a24..1751a54f32 100644 --- a/app/views/tutorial/a5.html +++ b/app/views/tutorial/a5.html @@ -48,7 +48,7 @@

    How Do I Prevent It?