CVE-2024-34714 Hoppscotch Extension responds to calls made by origins not in the domain list

High 7.6 Published Updated

A missing origin check in the Hoppscotch browser extension allows malicious sites to bypass CORS restrictions and access internal extension APIs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-34714?

CVE-2024-34714 is a high-severity vulnerability in hoppscotch-extension, published on 14 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Hoppscotch Browser Extension is a browser extension for Hoppscotch, a community-driven end-to-end open-source API development ecosystem. Due to an oversight during a change made to the extension in the commit d4e8e4830326f46ba17acd1307977ecd32a85b58, a critical check for the origin list was missed and allowed for messages to be sent to the extension which the extension gladly processed and responded back with the results of, while this wasn't supposed to happen and be blocked by the origin not being present in the origin list.

This vulnerability exposes Hoppscotch Extension users to sites which call into Hoppscotch Extension APIs internally. This fundamentally allows any site running on the browser with the extension installed to bypass CORS restrictions if the user is running extensions with the given version. This security hole was patched in the commit 7e364b928ab722dc682d0fcad713a96cc38477d6 which was released along with the extension version `0.35`. As a workaround, Chrome users can use the Extensions Settings to disable the extension access to only the origins that you want. Firefox doesn't have an alternative to upgrading to a fixed version.

Weakness: CWE-354

Which versions are affected by CVE-2024-34714?

How do I fix CVE-2024-34714?

No fix has been published for CVE-2024-34714 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-34714 being exploited?

There is no known exploitation of CVE-2024-34714 in the wild and no public exploit code.

Sources

Also known as GHSA-jjh5-pvqx-gg5v.

Is CVE-2024-34714 in your software?

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

Check your SBOMs for free