GHSA-xwqw-rf2q-xmhf Cross-Site Scripting in buefy
Attackers can execute remote code via DOM manipulation in the autocomplete list due to unencoded user input.
- 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 GHSA-xwqw-rf2q-xmhf?
GHSA-xwqw-rf2q-xmhf is a cross-site scripting vulnerability in buefy, published on 1 Sep 2020. 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
Versions of buefy prior to 0.7.2 are vulnerable to Cross-Site Scripting, allowing attackers to manipulate the DOM and execute remote code. The autocomplete list renders user input as HTML without encoding.
Recommendation
Upgrade to version 0.7.2 or later.
Which versions are affected by GHSA-xwqw-rf2q-xmhf?
2 open source packages ship an affected version, including buefy.
| Package | Affected | Fixed in |
|---|---|---|
buefy npm | All versions | 0.7.2 |
buefy npm | All versions | 0.7.2 |
How do I fix GHSA-xwqw-rf2q-xmhf?
Upgrade buefy to 0.7.2 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 GHSA-xwqw-rf2q-xmhf being exploited?
There is no known exploitation of GHSA-xwqw-rf2q-xmhf in the wild and no public exploit code.