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

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

Classification

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

Miscellaneous

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

Timeline

Publicly Published 2017-08-17 (over 1 year ago)
Added 2017-08-25 (about 1 year ago)
Last Updated 2017-08-25 (about 1 year ago)

Copyright & License

Copyright All data and resources contained within this page and this web site is Copyright © The WPScan Team.
License Some of this data may be used for non-commercial purposes, however, any potential commercial usage of this data will require a license. If you would like to inquire about a commercial license please contact us.