Security advisory
mpv through 0.28.0 allows remote attackers to execute arbitrary code via a crafted web site, because it reads HTML documents containing VIDEO elements, and accepts arbitrary URLs in a src attribute without a protocol whitelist in player/lua/ytdl_hook.lua. For example, an av://lavfi:ladspa=file= URL signifies that the product should call dlopen on a shared object file located at an arbitrary local pathname. The issue exists because the product does not consider that youtube-dl can provide a potentially unsafe URL.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-6360
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:31 UTC · Revision 1
Source evidence
mpv through 0.28.0 allows remote attackers to execute arbitrary code via a crafted web site, because it reads HTML documents containing VIDEO elements, and accepts arbitrary URLs in a src attribute without a protocol whitelist in player/lua/ytdl_hook.lua. For example, an av://lavfi:ladspa=file= URL signifies that the product should call dlopen on a shared object file located at an arbitrary local pathname. The issue exists because the product does not consider that youtube-dl can provide a potentially unsafe URL.
osv:CVE-2018-6360
Complete source record
{
"id": "a9cda2919cbf1dce74f1ea1eae6ebff018b61cd4de88438f93b9b8d2a813a03a",
"url": "https://osv.dev/vulnerability/CVE-2018-6360",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-6360",
"summary": "mpv through 0.28.0 allows remote attackers to execute arbitrary code via a crafted web site, because it reads HTML documents containing VIDEO elements, and accepts arbitrary URLs in a src attribute without a protocol whitelist in player/lua/ytdl_hook.lua. For example, an av://lavfi:ladspa=file= URL signifies that the product should call dlopen on a shared object file located at an arbitrary local pathname. The issue exists because the product does not consider that youtube-dl can provide a potentially unsafe URL.",
"evidence": "osv:CVE-2018-6360",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-6360",
"aliases": [
"CVE-2018-6360"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mpv-player/mpv",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "dfac83a81d9fd68d8d856ae460fc5da885714ef5"
},
{
"fixed": "e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mpv:mpv:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.28.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.28.0",
"v0.27.0",
"v0.26.0",
"v0.25.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6360.json"
}
}
],
"modified": "2026-10-20T10:50:31.651168272Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/201805-05",
"https://www.debian.org/security/2018/dsa-4105",
"https://github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43",
"https://github.com/mpv-player/mpv/issues/5456"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-6360",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381796,
"published_at": "2018-01-28T02:29:01.503+00:00"
}