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

Stored_XSS @ forumUsersList.jsp #47

Open
TaynaCT opened this issue Apr 13, 2022 · 0 comments
Open

Stored_XSS @ forumUsersList.jsp #47

TaynaCT opened this issue Apr 13, 2022 · 0 comments

Comments

@TaynaCT
Copy link
Owner

TaynaCT commented Apr 13, 2022

Stored_XSS issue exists @ forumUsersList.jsp in branch netbeans

The application's forumUsersList embeds untrusted data in the generated output with print, at line 18 of /web/vulnerability/forumUsersList.jsp. This untrusted data is embedded straight into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the output.

The attacker would be able to alter the returned web page by saving malicious data in a data-store ahead of time. The attacker's modified data is then read from the database by the forumUsersList method with rs, at line 12 of /web/vulnerability/forumUsersList.jsp. This untrusted data then flows through the code straight to the output web page, without sanitization. 

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

Namespace: TaynaCT
Repository: JavaVulnerableLab
Repository Url: https://github.com/TaynaCT/JavaVulnerableLab
CxAST-Project: TaynaCT/JavaVulnerableLab
CxAST platform scan: ec6e1015-2689-4742-939a-0072f10bf172
Branch: netbeans
Application: JavaVulnerableLab
Severity: HIGH
State: TO_VERIFY
Status: RECURRENT
CWE: 79
Lines: 12


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