Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-7168
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:25 UTC · Revision 1
Source evidence
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.
osv:CVE-2016-7168
Complete source record
{
"id": "66b0a293a1e0ff37d4ce95243f311348d077ca9592f7fdfd114494f8d8ff929e",
"url": "https://osv.dev/vulnerability/CVE-2016-7168",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-7168",
"summary": "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.",
"evidence": "osv:CVE-2016-7168",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2016-7168",
"aliases": [
"CVE-2016-7168"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wordpress/wordpress",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "fe47e6139dbfc0f0c9ce0d79da77926b5fceaa77"
},
{
"fixed": "c9e60dab176635d4bfaaf431c0ea891e4726d6e0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "c9e60dab176635d4bfaaf431c0ea891e4726d6e0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"4.6.0",
"4.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7168.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/wordpress/wordpress-develop",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "7c76a1b79e21176b176b5b6d6b03151f8eea4b55"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.6"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"4.6.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7168.json"
}
}
],
"modified": "2026-10-24T10:47:21.713575836Z",
"provider": "osv",
"references": [
"https://wpvulndb.com/vulnerabilities/8615",
"https://sumofpwn.nl/advisory/2016/persistent_cross_site_scripting_vulnerability_in_wordpress_due_to_unsafe_processing_of_file_names.html",
"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/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-7168",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441167,
"published_at": "2017-01-05T02:59:03.837+00:00"
}