header-logo
Suggest Exploit
vendor:
PHPXref
by:
5.5
CVSS
MEDIUM
Cross-Site Scripting (XSS)
79
CWE
Product Name: PHPXref
Affected Version From: PHPXref 0.1
Affected Version To: PHPXref 0.7
Patch Exists: NO
Related CWE:
CPE: a:phpxref:phpxref
Metasploit:
Other Scripts:
Platforms Tested:

Cross-Site Scripting Vulnerability in PHPXref

The PHPXref application fails to properly sanitize user-supplied input, leading to a cross-site scripting vulnerability. An attacker can exploit this vulnerability to execute arbitrary script code in the browser of an unsuspecting user, within the context of the affected site, and potentially steal cookie-based authentication credentials.

Mitigation:

To mitigate this vulnerability, it is recommended to sanitize and validate user-supplied input before using it in the application. Implementing proper input validation and output encoding techniques can help prevent cross-site scripting attacks.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/46302/info

PHPXref is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input.

Exploiting these issues will allow an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site and steal cookie-based authentication credentials.

Versions prior to PHPXref 0.7 are vulnerable; other versions may also be affected. 

http://www.example.com/nav.html?javascript:alert(document.cookie)