CVE-2023-0460
published medium CVSS 3.1 · 5.1Remote code execution in YouTube Android Player API SDK
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | YouTube Android Player API SDK1.2 through 1.2.2 · Other versions: unaffected | Affected | Not stated |
Description
The YouTube Embedded 1.2 SDK binds to a service within the YouTube Main App. After binding, a remote context is created with the flags Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY. This allows the client app to remotely load code from YouTube Main App by retrieving the Main App’s ClassLoader. A potential vulnerability in the binding logic used by the client SDK where the SDK ends up calling bindService() on a malicious app rather than YT Main App. This creates a vulnerability where the SDK can load the malicious app’s ClassLoader instead, allowing the malicious app to load arbitrary code into the calling app whenever the embedded SDK is invoked. In order to trigger this vulnerability, an attacker must masquerade the Youtube app and install it on a device, have a second app that uses the Embedded player and typically distribute both to the victim outside of the Play Store.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| YouTube Android Player API SDK | 1.2 through 1.2.2 (affected · custom)Default: unaffected | Google · cna |
Weaknesses
1- CWE-470 CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
References
1Provider assertions
3Google · cna
Remote code execution in YouTube Android Player API SDK
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0cae973c04af83e75470380c5d61cbeb6e3569da74a5e55b13e2ef30935f53d1
- Ingested
- 23 Sep 2026, 08:05:07 UTC
- Source record
- Official CVE record