Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-pagenavi domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u918112125/domains/exploit.company/public_html/wp-includes/functions.php on line 6114
ThinkPHP Cross-Site Scripting Vulnerability - exploit.company
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