CVE-2018-7307 Auth0-js bypasses CSRF checks

High 8.8 Published Updated

Attackers can bypass CSRF protections in the Auth0.js library by omitting the state parameter in authorization responses.

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-2018-7307?

CVE-2018-7307 is a high-severity vulnerability in n/a, published on 6 Mar 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

The Auth0 Auth0.js library before 9.3 has CSRF because it mishandles the case where the authorization response lacks the state parameter.

Weakness: CWE-352

Which versions are affected by CVE-2018-7307?

2 open source packages ship an affected version, including auth0-js. It affects 1 product.

PackageAffectedFixed in
auth0-js npmAll versions9.3.0
auth0-js npmAll versions9.3.0

Products include Auth0 Auth0.js.

How do I fix CVE-2018-7307?

Upgrade auth0-js to 9.3.0 or later.

Is CVE-2018-7307 being exploited?

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

Sources

Also known as GHSA-wpq7-q8j4-72jg.

Is CVE-2018-7307 in your software?

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

Check your SBOMs for free