CVE-2017-16043 HTML Injection in shout
Attackers can inject HTML scripts via the /topic command in Shout IRC client, leading to code execution in the victim's browser.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-16043?
CVE-2017-16043 is a medium-severity cross-site scripting vulnerability in HackerOne shout node module, published on 4 Jun 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Shout is an IRC client. Because the `/topic` command in messages is unescaped, attackers have the ability to inject HTML scripts that will run in the victim's browser. Affects shout >=0.44.0 <=0.49.3.
Which versions are affected by CVE-2017-16043?
2 open source packages ship an affected version, including shout. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
shout npm | From 0.44.0 | 0.50.0 |
shout npm | From 0.44.0 | 0.50.0 |
Products include Shout Project Shout.
How do I fix CVE-2017-16043?
Upgrade shout to 0.50.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-2017-16043 being exploited?
There is no known exploitation of CVE-2017-16043 in the wild and no public exploit code.
Sources
Also known as GHSA-26q7-g57v-mxcp.