Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflected_XSS @ memos.js #317

Open
RobertMickleCx opened this issue Mar 10, 2023 · 0 comments
Open

Reflected_XSS @ memos.js #317

RobertMickleCx opened this issue Mar 10, 2023 · 0 comments

Comments

@RobertMickleCx
Copy link
Owner

Reflected_XSS issue exists @ memos.js in branch master

The method Lambda embeds untrusted data in generated output with render, at line 27 of /app/routes/memos.js. This untrusted data is embedded into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the generated web-page.

The attacker would be able to alter the returned web page by simply providing modified data in the user input session, which is read by the Lambda method at line 23 of /app/routes/memos.js. This input then flows through the code straight to the output web page, without sanitization. 

This can enable a Reflected Cross-Site Scripting (XSS) attack.

Namespace: RobertMickleCx
Repository: NodeGoat
Repository Url: https://github.com/RobertMickleCx/NodeGoat
CxAST-Project: RobertMickleCx/NodeGoat
CxAST platform scan: e7941f4d-fb14-4e6e-9cdc-c12dbbe3cdc7
Branch: master
Application: NodeGoat
Severity: HIGH
State: TO_VERIFY
Status: RECURRENT
CWE: 79
Lines: 23


References
Read more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant