vendor:
MyBB Threads to Link Plugin
by:
0xB9
5.4
CVSS
MEDIUM
Persistent XSS
79
CWE
Product Name: MyBB Threads to Link Plugin
Affected Version From: v1.3
Affected Version To: v1.3
Patch Exists: YES
Related CWE: CVE-2018-10365
CPE: 2.3:a:mybb:mybb_threads_to_link_plugin:1.3
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Ubuntu 17.10
2018
MyBB Threads to Link Plugin v1.3 – Persistent XSS
When editing a thread the user is given to the option to convert the thread to a link. Persistent XSS can be achieved by editing a thread or post and inputting <a """><SCRIPT>alert("XSS")</SCRIPT>"> in the Thread Link box. The plugin has since been removed after notifying the author and the patch in line 83 of the plugin should be changed from $thread['tlink'] = ($thread['tlink']); to $thread['tlink'] = htmlspecialchars_uni($thread['tlink']);
Mitigation:
The plugin has since been removed after notifying the author and the patch in line 83 of the plugin should be changed from $thread['tlink'] = ($thread['tlink']); to $thread['tlink'] = htmlspecialchars_uni($thread['tlink']);