Skip to content

⚡ [Buzz] Fix CWE-95: Server-Side JavaScript Injection (Remote Code Execution) via eval() - #479

Open
nisargap wants to merge 1 commit into
OWASP:masterfrom
nisargap:buzz/fix-cwe-95-74975
Open

nisargap wants to merge 1 commit into
OWASP:masterfrom
nisargap:buzz/fix-cwe-95-74975

Conversation

@nisargap

Copy link
Copy Markdown

⚡ Buzz Automated Security Remediation (CWE-95)

  • Vulnerability: Server-Side JavaScript Injection (Remote Code Execution) via eval()
  • Target File: app/routes/contributions.js (L32-L34)
  • Synthesized By: Gemini 4 Argon (gemini-4-argon)

Remediation Applied

Replace `eval()` with safe integer parsing:
const preTax = parseInt(req.body.preTax, 10);
const afterTax = parseInt(req.body.afterTax, 10);
const roth = parseInt(req.body.roth, 10);

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant