code-projects Online Exam Mastering System 1.0 - Reflected Cross-Site Scripting (XSS)
Source Exploit-DB RSS Feed
Mentioned vulnerabilities
Rated by Threat Radar
Data as of 11 Jun 2025, 21:09 UTC
What to do
AI-suggested
1. Immediately audit all instances of the Online Exam Mastering System 1.0 to identify exposure of the feedback.php?q parameter to external users. 2. Apply input sanitization by modifying the source code to use PHP's htmlspecialchars() or equivalent encoding functions on all reflected user inputs before rendering them in HTML. 3. Implement a strict Content Security Policy (CSP) header that restricts script sources to trusted domains and disallows inline scripts, mitigating the impact of injected scripts. 4. Consider deploying a Web Application Firewall (WAF) with custom rules to detect and block common XSS payload patterns targeting the q parameter. 5. Educate users, especially administrators and instructors, about the risks of clicking untrusted links and encourage the use of security-aware browsing practices. 6. Monitor web server logs for suspicious requests containing script tags or unusual query parameters targeting feedback.php. 7. If possible, upgrade or patch the system once the vendor releases an official fix. 8. Restrict access to the feedback.php page to authenticated users only, reducing exposure to anonymous attackers. 9. Conduct regular security assessments and penetration tests focusing on input validation and output encoding in all web application components.
Description
code-projects Online Exam Mastering System 1.0 - Reflected Cross-Site Scripting (XSS)
Indicators of compromise
Exploit source code
# Exploit Title: code-projects Online Exam Mastering System 1.0 - Reflected Cross-Site Scripting (XSS)
# Google Dork: inurl:/exam/feedback.php
# Date: 2025-04-19
# Exploit Author: Pruthu Raut
# Vendor Homepage: https://code-projects.org/
# Software Link: https://code-projects.org/online-exam-system-in-php-with-source-code/
# Version: 1.0
# Tested on: XAMPP on Windows 10 / Kali Linux (Apache + PHP 7.x)
# CVE : CVE-2025-28121
# Description:
# code-projects Online Exam Mastering System 1.0 is vuln…