CVE Vulnerabilities

CVE-2022-1583

Use of Web Link to Untrusted Target with window.opener Access

Published: May 30, 2022 | Modified: Jun 09, 2022
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu

The External Links in New Window / New Tab WordPress plugin before 1.43 does not ensure window.opener is set to null when links to external sites are clicked, which may enable tabnabbing attacks to occur.

Weakness

The web application produces links to untrusted external sites outside of its sphere of control, but it does not properly prevent the external site from modifying security-critical properties of the window.opener object, such as the location property.

Affected Software

Name Vendor Start Version End Version
External_links_in_new_window_/_new_tab Webfactoryltd * 1.43 (excluding)

Potential Mitigations

  • When creating a link to an external document using the tag with a defined target, for example “_blank” or a named frame, provide the rel attribute with a value “noopener noreferrer”.
  • If opening the external document in a new window via javascript, then reset the opener by setting it equal to null.
  • Do not use “_blank” targets. However, this can affect the usability of the application.

References