header-logo
Suggest Exploit
vendor:
ThinkPHP
by:
Unknown
5.5
CVSS
MEDIUM
Cross-Site Scripting
79
CWE
Product Name: ThinkPHP
Affected Version From: 2
Affected Version To: 2
Patch Exists: YES
Related CWE:
CPE: a:thinkphp:thinkphp:2.0
Metasploit:
Other Scripts:
Platforms Tested:
2010

ThinkPHP Cross-Site Scripting Vulnerability

ThinkPHP is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.

Mitigation:

To mitigate this vulnerability, it is recommended to sanitize and validate user-supplied input before using it in dynamically generated web pages.
Source

Exploit-DB raw data:

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

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

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.

ThinkPHP 2.0 is vulnerable; prior versions may also be affected.

http://www.example.com/index.php?s=1%3Cbody+onload=alert(1)%3E