header-logo
Suggest Exploit
vendor:
Textpattern CMS
by:
Tushar Vaidya
8.8
CVSS
HIGH
Persistent Cross-Site Scripting (XSS)
79
CWE
Product Name: Textpattern CMS
Affected Version From: 4.8.4
Affected Version To: 4.8.4
Patch Exists: YES
Related CWE: N/A
CPE: a:textpattern:textpattern
Metasploit: N/A
Other Scripts: N/A
Platforms Tested: Windows
2021

Textpattern CMS 4.8.4 – ‘Comments’ Persistent Cross-Site Scripting (XSS)

Textpattern CMS version 4.8.4 is vulnerable to a persistent cross-site scripting (XSS) vulnerability. An attacker can inject malicious JavaScript code into the URL field of the 'Comments' page in the Textpattern CMS admin panel. When a user visits the page, the malicious code will be executed in the user's browser.

Mitigation:

Upgrade to the latest version of Textpattern CMS.
Source

Exploit-DB raw data:

# Exploit Title: Textpattern CMS 4.8.4 - 'Comments' Persistent Cross-Site Scripting (XSS)
# Date: 2021-03-04
# Exploit Author: Tushar Vaidya
# Vendor Homepage: https://textpattern.com
# Software Link: https://textpattern.com/start
# Version: v 4.8.4
# Tested on: Windows

Steps-To-Reproduce:
1. Login into Textpattern CMS admin panel.
2. Now go to the *Content > C**omments > Message*.
3. Now paste the below payload in the URL field.

Ba1man”><img src=x onerror=confirm(document.location)>

4. Now click on the *Save* button.
5. Now go to the https://site.com/articles/welcome-to-your-site#comments-head
5. The XSS will be triggered.