CVE-2020-1911: Facebook Hermes - Server-Side Template Injection
- Cve: CVE-2020-1911
- Name: Facebook Hermes - Server-Side Template Injection
- Description: A type confusion vulnerability when resolving properties of JavaScript objects with specially-crafted prototype chains in Facebook Hermes prior to commit fe52854cdf6725c2eaa9e125995da76e6ceb27da allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.
- Impact: Attackers can potentially execute arbitrary code if untrusted JavaScript is evaluated, leading to full code execution.
- Remediation: Update to the latest version of Facebook Hermes that includes the fix for commit fe52854cdf6725c2eaa9e125995da76e6ceb27da.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Application must evaluate untrusted JavaScript
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02003
- Epss percentile: 0.81306
- Assignee: [email protected]
- Published at: 2020-09-04T03:15:09Z
- Age in days: 2272
- Modified at: 2026-06-17T03:02:36Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-1911
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-843 | Access of Resource Using Incompatible Type |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/facebook/hermes/commit/fe52854cdf6725c2eaa9e125995da76e6ceb27da | nvd | Patch, Third Party Advisory |
| https://www.facebook.com/security/advisories/cve-2020-1911 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| facebook:hermes | < 0.4.3 | no | nvd | /v1/products/facebook/hermes |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| facebook/hermes | commit, fix | yes | /v1/repositories/facebook/hermes |
Index
- Repositories: 8
- Repositories high signal: 2
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts