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

[Vulnerability] Stored XSS found #139

Open
Asterius27 opened this issue Jan 14, 2025 · 0 comments
Open

[Vulnerability] Stored XSS found #139

Asterius27 opened this issue Jan 14, 2025 · 0 comments

Comments

@Asterius27
Copy link

Hello EvoPIE developers,

We are a cybersecurity research group from Ca’ Foscari University of Venice. We recently conducted a security analysis of web applications on GitHub as part of our research. We have discovered a security vulnerability in your code that we believe requires your attention.

Vulnerability Description:

After our analysis, we have identified that your application is vulnerable to a stored XSS. Stored XSS is a security vulnerability where malicious scripts are injected into an application's storage (e.g., database) and persist. These scripts execute in users' browsers when they access the affected content, stealing data or performing malicious actions. The following endpoint presents the vulnerability, if you are interested in the full "steps to reproduce" and payload please reply to this issue.

"/questions"

Recommendation for Mitigation:

To address this vulnerability and enhance the security posture of your web application, we recommend you validate and sanitize user inputs to ensure they don't contain malicious scripts. Use proper encoding (e.g., HTML, JavaScript, URL encoding) when displaying dynamic content. Implement Content Security Policy (CSP) to restrict script execution to trusted sources.

We hope this notification helps improve your security.

In addition to addressing this issue, we are interested in understanding how this vulnerability was introduced in the code or why it has remained unchanged. This information can provide valuable insights into common security pitfalls and help us all improve security practices in the future. Could you share any background on this aspect? We would greatly appreciate your input on this matter. Thank you!

Should you have further questions or comments on this, feel free to answer this thread.

Kind regards

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

No branches or pull requests

1 participant