Khanakag-17 Library Management System Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting vulnerability has been identified in the Khanakag-17 Library Management System, affecting all versions up to 60ed174506094dcd166e34904a54288e5d10ff24. The issue resides in the 'msg' parameter of 'index.php', where user input is not properly sanitized before being reflected in the response. This flaw allows remote attackers to inject arbitrary JavaScript, which could be executed in the context of the user's browser.

Impact

Exploitation of this vulnerability allows for the execution of injected JavaScript in the victim's browser. This could lead to session cookie theft, unauthorized access to sensitive information, defacement of web content, or redirection to malicious websites. Additionally, this vulnerability could serve as a stepping stone for other client-side attacks.

Reproduction

To reproduce this vulnerability, send a GET request to 'index.php' with a crafted 'msg' parameter that includes a script tag. The absence of input sanitization will result in the execution of the injected script, such as displaying an alert box.

Remediation

No specific mitigation measures are known for this vulnerability.

Added: Sep 1, 2025, 2:18 AM
Updated: Sep 1, 2025, 2:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
1.7
exploitability
7.7
remediation
0.0
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.