the media_handle_upload function in wp-admin/includes/media.php in WordPress before 4.6.1 might: Cross-site scripting
the media_handle_upload function in wp-admin/includes/media.php in WordPress before 4.6.1 might is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
- Component
- the media_handle_upload function in wp-admin/includes/media.php in WordPress before 4.6.1 might
- Plugin slug
- Not applicable
- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Jan 05, 2017
Update, patch or deactivate.
Update the media_handle_upload function in wp-admin/includes/media.php in WordPress before 4.6.1 might to a release outside the affected range, or disable and remove it until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
Cross-site scripting (XSS) vulnerability in the media_handle_upload function in wp-admin/includes/media.php in WordPress before 4.6.1 might allow remote attackers to inject arbitrary web script or HTML by tricking an administrator into uploading an image file that has a crafted filename.
NVD vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Primary and upstream sources
- NVD record for CVE-2016-7168
- Upstream reference debian.org
- Upstream reference openwall.com
- Upstream reference openwall.com
- Upstream reference securityfocus.com
- WordPress upstream reference codex.wordpress.org
- GitHub upstream reference github.com
- Upstream reference sumofpwn.nl
- WordPress upstream reference wordpress.org
- Upstream reference wpvulndb.com
- Upstream reference debian.org
- Upstream reference openwall.com
- Upstream reference openwall.com
- Upstream reference securityfocus.com
- WordPress upstream reference codex.wordpress.org
- GitHub upstream reference github.com
- Upstream reference sumofpwn.nl
- WordPress upstream reference wordpress.org
- Upstream reference wpvulndb.com