Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typecho <= 1.2.0 Post Editor with DOM-based-XSS Vulnerability #1536

Open
Srpopty opened this issue Feb 21, 2023 · 0 comments
Open

Typecho <= 1.2.0 Post Editor with DOM-based-XSS Vulnerability #1536

Srpopty opened this issue Feb 21, 2023 · 0 comments
Labels

Comments

@Srpopty
Copy link

Srpopty commented Feb 21, 2023

Typecho <= 1.2.0 Post Editor with DOM-based-XSS Vulnerability

Influenced Version

Typecho <= 1.2.0

1 2

Description

Typecho admin backend post editor with DOM-based XSS when adding a new post tag.

  1. Login to admin backend management system.
  2. Create a new or edit an existed post, in “admin/write-post.php” add a new tag.
  3. If the new tag name contains the XSS payload, e.g. <li><p>aaa<a>test</a></p></li>, it will be injected into a <li> html tag.

POC

<li><p>aaa<img src=x onerror=alert(1)>aaa</p></li>

1

2

Reported by Srpopty, vulnerability discovered by using Corax.

@joyqi joyqi added the security label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants