CVE-2016-7168
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account, but needs a user to act. Limited direct impact.
- Exploit odds
- 2.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.8% in the next 30 days (EPSS).
- Severity: 4.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.8% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- WordPress ≤ 4.6
Attack profile CVSS 3.0 · 4.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-7168.md and follow it. Check whether this project is affected by CVE-2016-7168. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://codex.wordpress.org/Version_4.6.1
- https://github.com/WordPress/WordPress/commit/c9e60dab176635d4bfaaf431c0ea891e4726d6e0
- https://wordpress.org/news/2016/09/wordpress-4-6-1-security-and-maintenance-release/
- https://codex.wordpress.org/Version_4.6.1
- https://github.com/WordPress/WordPress/commit/c9e60dab176635d4bfaaf431c0ea891e4726d6e0
- https://wordpress.org/news/2016/09/wordpress-4-6-1-security-and-maintenance-release/
References
- http://www.debian.org/security/2016/dsa-3681
- http://www.openwall.com/lists/oss-security/2016/09/08/19
- http://www.openwall.com/lists/oss-security/2016/09/08/24
- http://www.securityfocus.com/bid/92841
- https://codex.wordpress.org/Version_4.6.1
- https://github.com/WordPress/WordPress/commit/c9e60dab176635d4bfaaf431c0ea891e4726d6e0
- https://sumofpwn.nl/advisory/2016/persistent_cross_site_scripting_vulnerability_in_wordpress_due_to_unsafe_processing_of_file_names.html
- https://wordpress.org/news/2016/09/wordpress-4-6-1-security-and-maintenance-release/
- https://wpvulndb.com/vulnerabilities/8615
- http://www.debian.org/security/2016/dsa-3681
- http://www.openwall.com/lists/oss-security/2016/09/08/19
- http://www.openwall.com/lists/oss-security/2016/09/08/24
- http://www.securityfocus.com/bid/92841
- https://codex.wordpress.org/Version_4.6.1
- https://github.com/WordPress/WordPress/commit/c9e60dab176635d4bfaaf431c0ea891e4726d6e0
- https://sumofpwn.nl/advisory/2016/persistent_cross_site_scripting_vulnerability_in_wordpress_due_to_unsafe_processing_of_file_names.html
- https://wordpress.org/news/2016/09/wordpress-4-6-1-security-and-maintenance-release/
- https://wpvulndb.com/vulnerabilities/8615