
Public Disclosure
Disclosure Date: 25 July 2025
CVE ID: CVE-2025-51411
Severity: MEDIUM (CVSS 6.1)
A reflected Cross-Site Scripting (XSS) vulnerability exists in the Institute-of-Current-Students v1.0 project, specifically within the postquerypublic endpoint. Unsanitized input in the email parameter is directly reflected back into the response HTML, allowing attackers to execute arbitrary JavaScript in the browser of a user who visits a malicious link or submits a crafted request.
This issue has been assigned the identifier CVE-2025-51411. At the time of disclosure, no patch has been released by the vendor.
postquerypublichttp://localhost/Institute-of-Current-Students/postquerypublicThe server fails to properly sanitize the email parameter from POST data before reflecting it into the response HTML. This allows attackers to inject JavaScript payloads, leading to client-side code execution.
$email = $_POST['email'];
echo "<div>Email: $email</div>";
| CWE ID | Title |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') |
| Score | Severity | Vector String |
|---|---|---|
| 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
A successful exploitation could result in:
POST /Institute-of-Current-Students/postquerypublic HTTP/1.1
Host: localhost
Content-Type: application/x-www-form-urlencoded
email=testing%40example.com'"()%26%25<zzz><ScRiPt%20>IZwW(9455)</ScRiPt>&gnamex=pHqghUme&squeryx=555&update=Post%20Query!
<ScRiPt >IZwW(9455)</ScRiPt>
This payload is executed if the server reflects the email value without sanitization.
htmlspecialchars() or equivalent to encode all untrusted output before rendering to HTML.$email = htmlspecialchars($_POST['email'], ENT_QUOTES, 'UTF-8');
| Event | Date |
|---|---|
| Vulnerability Discovered | 18 July 2025 |
| Public Disclosure | 25 July 2025 |
| Patch Available | ❌ Not available as of disclosure |
This vulnerability was discovered and disclosed by:
Tansique Dasari
🔗 GitHub
✉️ [email protected]
💬 This advisory is published independently due to absence of an official vendor patch.