Things to mention in the report:
-
Vulnerability
-
Severity
-
Description
-
Instance
-
POC (proof of concept)
-
Steps to Reproduce
-
Impact
-
Mitigation
-
Reference
# Vulnerability Report
Vulnerability: Cross-Site Scripting (XSS)
Severity: High
Description
Cross-site scripting is a critical computer security vulnerability where an attacker attempts to execute malicious scripts in a web browser of the victim by injecting malicious code into a legitimate web page or web application.
Instance
-
Payload:
<script> alert(1); </script>
Proof of Concept
Screenshots of the browser page demonstrating the successful execution of the payload.
Steps to Reproduce
-
Go to www.xyz.com/deb/search?query=
-
Insert the payload in search box
-
Check the response
Impact
The XSS vulnerability poses a high risk, leading to potential:
-
Open Redirection
-
Session Hijack
-
Phishing
-
Defacement
-
Cookie Stealing
Mitigation
-
Input Validation
-
Encoding
• Input Validation: Validate and sanitize user inputs to ensure they adhere to expected formats. • Encoding: Encode output data to prevent malicious script execution.
Reference
OWASP/CVE/NVD link 🔗
Examples screenshot: