CVE-2018-25058
Twitter-Post-Fetcher Link Target twitterFetcher.js reverse tabnabbing
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.56%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 40.4% of all scored CVEs. Scores of 26 Nov 2026.
Weakness
- CWE-1022 Use of Web Link to Untrusted Target with window.opener Access
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Twitter-Post-Fetcher
n/a
|
affected 17.x
|
Is my server affected?
Find the installed version of twitter-post-fetcher and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i twitter-post-fetcher
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-25058 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-25058RHEL, Rocky, Alma, Fedora
rpm -q twitter-post-fetcher
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-25058Alpine
apk list --installed | grep -i twitter-post-fetcherWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2018-25058
trivy image --scanners vuln IMAGE | grep CVE-2018-25058
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.
References
Patches and release notes
- https://github.com/jasonmayes/Twitter-Post-Fetcher/commit/7d281c6fb5acbc29a2cad295262c1f0c19ca56f3 github.com · patch
- https://github.com/jasonmayes/Twitter-Post-Fetcher/releases/tag/18.0.0 github.com · patch
Other references
- https://vuldb.com/?id.217017 vuldb.com · vdb entry
- https://vuldb.com/?ctiid.217017 vuldb.com · signature, permissions required
- https://github.com/jasonmayes/Twitter-Post-Fetcher/pull/170 github.com · issue tracking
Source: the record CVE-2018-25058 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.