Textpattern 4.8.4 is affected by cross-site scripting (XSS) in the Body parameter.

Ritesh Gohil
1 min readJan 20, 2021

--

# Exploit Title: Textpattern CMS v4.8.4 “Content>Write>Body” — Stored Cross-Site Scripting
# Exploit Author: Ritesh Gohil
# Vendor Homepage: https://www.textpattern.co
# Software Link: https://textpattern.com/start
# Version: 4.8.4
# Tested on: Windows 10/Kali Linux

Vulnerable Parameters: Body.

Attack Vector:
This vulnerability can results attacker to inject the XSS payload into the IMAGE URL and each time
any user will go to that URL, the XSS triggers, and the attacker can able to steal the cookie according to the crafted payload.

Steps-To-Reproduce:
1. Login into Textpattern CMS admin panel.
2. Now go to the Content > Write > Body.
3. Now paste the below payload in the URL field.
ritesh”><img src=x onerror=confirm(document.domain)>
4. Now click on add button.
5. The XSS will be triggered.

Stored Cross-site scripting(XSS):
Stored XSS, also known as persistent XSS, is the more damaging of the two. It occurs when a malicious script is injected directly into a vulnerable web application.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Ritesh Gohil
Ritesh Gohil

Written by Ritesh Gohil

AWS Security Specialty || eWPTXv2 || Information Security Engineer || Cyber Security Researcher || CEHv10 || CCNA || AWS-Associate #L4stPL4Y3R

No responses yet

Write a response