CVE-2018-6333 Nuclide Improper Input Validation
Attackers can inject HTML via malicious URLs in Nuclide, potentially leading to code execution within the editor context.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-6333?
CVE-2018-6333 is a critical cross-site scripting vulnerability in Facebook Nuclide, published on 31 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The hhvm-attach deep link handler in Nuclide did not properly sanitize the provided hostname parameter when rendering. As a result, a malicious URL could be used to render HTML and other content inside of the editor's context, which could potentially be chained to lead to code execution. This issue affected Nuclide prior to v0.290.0.
Which versions are affected by CVE-2018-6333?
2 open source packages ship an affected version, including nuclide. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nuclide npm | All versions | 0.290.0 |
nuclide npm | All versions | 0.290.0 |
Products include Facebook Nuclide.
How do I fix CVE-2018-6333?
Upgrade nuclide to 0.290.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-6333 being exploited?
There is no known exploitation of CVE-2018-6333 in the wild and no public exploit code.
Sources
Also known as GHSA-r83x-wj75-v89r.