0%

Emlog Stored Cross-Site Scripting(XSS)-article function

Emlog Stored Cross-Site Scripting(XSS)

Description

The client lacks proper validation when storing user input, resulting in a stored xss vulnerability.

Vendor Homepage

1
2
https://www.emlog.net/
https://github.com/emlog/emlog

Proof of Concept

  1. Register and log in as administrator.

  1. Click “发新文章” on Personal Page.

  1. Input payload:
1
![1](1"><script>alert('xss')</script><img src=")

Then click “立即发布” botton.

  1. All users now will trigger the attack code and a pop-up window when they enter the homepage of the website.