Headline
CVE-2023-41423: There is a stored XSS vulnerability · Issue #316 · terrylinooo/githuber-md
Cross Site Scripting vulnerability in WP Githuber MD plugin v.1.16.2 allows a remote attacker to execute arbitrary code via a crafted payload to the new article function.
When I used this plugin to write MD articles, I encountered a stored XSS vulnerability
Steps to reproduce the behavior:
Enable WP Githuber MD v1.16.2 plugin
Write new articles (via MD editor of this plugin)
Insert the following JS code:(Note that I added Tab spaces!!!)
</textarea><script>alert(‘aaa hack’);</script>
Publish articles
Additional context
(Note that I added Tab spaces!!!),,,As an article, it should not take the content of the article as js code and let the client browser execute it, which is very dangerous and may lead to phishing
Server environment
- WordPress version [ 6.3 ]
- WP Githuber MD plugin version [ 1.16.2 ]
- PHP version [ 7.4 ]