GHSA-c7pp-x73h-4m2v Cross-Site Scripting in bootstrap-vue

Not scored Published

Insufficient input sanitization in bootstrap-vue allows attackers to execute malicious JavaScript in users' browsers via the options variable.

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-c7pp-x73h-4m2v?

GHSA-c7pp-x73h-4m2v is a cross-site scripting vulnerability in bootstrap-vue, published on 2 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 bootstrap-vue prior to 2.0.0-rc.12 are vulnerable to Cross-Site Scripting. Due to insufficient input sanitization, components may be vulnerable to Cross-Site Scripting through the options variable. This may lead to the execution of malicious JavaScript on the user's browser.

Recommendation

Upgrade to version 2.0.0-rc.12 or later.

Which versions are affected by GHSA-c7pp-x73h-4m2v?

2 open source packages ship an affected version, including bootstrap-vue.

PackageAffectedFixed in
bootstrap-vue npmAll versions2.0.0-rc.12
bootstrap-vue npmAll versions2.0.0-rc.12

How do I fix GHSA-c7pp-x73h-4m2v?

Upgrade bootstrap-vue to 2.0.0-rc.12 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-c7pp-x73h-4m2v being exploited?

There is no known exploitation of GHSA-c7pp-x73h-4m2v in the wild and no public exploit code.

Sources

Is GHSA-c7pp-x73h-4m2v in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free