DOM XSS Vulnerability in Twenty Fifteen WordPress Theme

Information

Advisory by Netsparker (now Invicti)
Name: DOM XSS Vulnerability in Twenty Fifteen WordPress Theme
Affected Software: WordPress
Affected Versions: 4.2.1 and probably below
Vendor Homepage: https://wordpress.org/ and https://wordpress.org/themes/twentyfifteen/
Vulnerability Type: DOM based Cross-site Scripting
Severity: Important
CVE-ID: CVE-2015-3429
Invicti Advisory Reference: NS-15-007

Technical Details

Proof of Concept URL for DOM XSS in WordPress:

http://example.com/wordpress/wp-content/themes/twentyfifteen/genericons/example.html#<img/src/onerror=alert(123)>

For more information on this vulnerability read DOM Based Cross-site Scripting (XSS).

Advisory Timeline

22/04/2015 – First Contact
07/05/2015 – Vulnerability fixed
07/05/2014 – Advisory released

Solution

Download WordPress version 4.2.2 which includes a fix for this vulnerability.

Credits & Authors

These issues have been discovered by Omar Kurt while testing Invicti Web Application Security Scanner.

About Invicti

Invicti Security is transforming the way web applications are secured. Invicti empowers organizations in every industry to scale their overall security operations, make the best use of their security resources, and engage developers in helping to improve their overall security posture.