Embed Images in Comments <= 0.5 - Unauthenticated Stored XSS



Description
Unescaped src and href attribute replacements allows breaking out of the generated replacement tags.
Proof of Concept
A comment containing the following "image" http://codeseekah.com/1.jpg"onload="alert(1)".jpg will generate an alert box.

Affects Plugin

fixed in version 0.6

References

CVE 2017-18561
URL https://plugins.trac.wordpress.org/changeset/1714313/embed-comment-images

Classification

Type XSS
OWASP Top 10 A7: Cross-Site Scripting (XSS)
CWE CWE-79

Miscellaneous

Submitter Gennady
Submitter Website https://codeseekah.com
Submitter Twitter soulseekah
Views 6590
Verified No
WPVDB ID 8891

Timeline

Publicly Published 2017-08-17 (almost 3 years ago)
Added 2017-08-25 (almost 3 years ago)
Last Updated 2019-11-28 (7 months ago)

Our Other Services

Online WordPress Vulnerability Scanner WPScan WordPress Security Plugin