All reports
Medium

WordPress Core < 4.7.1 - Stored Cross-Site Scripting via theme directory name

Affected versions

WordPresswordpress
Affected versions
<3.7 || >=3.7 <=3.7.16 || >=3.8 <=3.8.16 || >=3.9 <=3.9.14 || >=4.0 <=4.0.13 || >=4.1 <=4.1.13 || >=4.2 <=4.2.10 || >=4.3 <=4.3.6 || >=4.4 <=4.4.5 || >=4.5 <=4.5.4 || >=4.6 <=4.6.1 || >=4.7 <=4.7.0
Fixed version
3.7.17 · 3.8.17 · 3.9.15 · 4.0.14 · 4.1.14 · 4.2.11 · 4.3.7 · 4.4.6 · 4.5.5 · 4.6.2 · 4.7.1

Exploitation

CVE-2017-5490

Probability of exploitation in the next 30 days: 2.44%

FIRST EPSS · 2026-11-21

Description

Cross-site scripting (XSS) vulnerability in the theme-name fallback functionality in wp-includes/class-wp-theme.php in WordPress before 4.7.1 allows remote attackers to inject arbitrary web script or HTML via a crafted directory name of a theme, related to wp-admin/includes/class-theme-installer-skin.php.

Links

Credits

  • Mehmet Ince

Data rights and licenses

Wordfence

Copyright 2012-2026 Defiant Inc.

Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.

License terms

Copyright 1999-2026 The MITRE Corporation

CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

License terms