CVE-2018-25058 Twitter-Post-Fetcher Link Target twitterFetcher.js reverse tabnabbing

Medium 4.2 Published Updated

Attackers can exploit reverse tabnabbing in Twitter-Post-Fetcher to redirect users to malicious sites via untrusted link targets.

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-25058?

CVE-2018-25058 is a medium-severity vulnerability in Twitter-Post-Fetcher, published on 29 Dec 2022. 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

A vulnerability classified as problematic has been found in Twitter-Post-Fetcher up to 17.x. This affects an unknown part of the file js/twitterFetcher.js of the component Link Target Handler. The manipulation leads to use of web link to untrusted target with window.opener access. It is possible to initiate the attack remotely. Upgrading to version 18.0.0 is able to address this issue. The name of the patch is 7d281c6fb5acbc29a2cad295262c1f0c19ca56f3. It is recommended to upgrade the affected component. The identifier VDB-217017 was assigned to this vulnerability.

Weakness: CWE-1022

Which versions are affected by CVE-2018-25058?

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

PackageAffectedFixed in
twitter-fetcher-js npmAll versions18.0.0
twitter-fetcher-js npmAll versions18.0.0

Products include Twitter-Post-Fetcher Project Twitter-Post-Fetcher.

How do I fix CVE-2018-25058?

Upgrade twitter-fetcher-js to 18.0.0 or later.

Is CVE-2018-25058 being exploited?

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

Sources

Also known as GHSA-m688-cx2p-rgq9.

Is CVE-2018-25058 in your software?

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

Check your SBOMs for free