Cyber Resilience

CWE · MITRE source

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

Abstraction: Variant · CVEs in our corpus: 12

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.

When a user clicks a link to an external site ("target"), the target="_blank" attribute causes the target site's contents to be opened in a new window or tab, which runs in the same process as the original page. The window.opener object records information about the original page that offered the link. If an attacker can run script on the target page, then they could read or modify certain properties of the window.opener object, including the location property - even if the original and target site are not the same origin. An attacker can modify the location property to automatically redirect the user to a malicious site, e.g. as part of a phishing attack. Since this redirect happens in the original window/tab - which is not necessarily visible, since the browser is focusing the display on the new target page - the user might not notice any suspicious redirection.

Last updated: 04 July 2026 00:28 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: mostly · 3 mapping(s) from 3 framework(s): ASVS 5.0 1 (mostly) · OWASP-Web 1 (partial) · ATT&CK 1 (partial)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A06:2025 Insecure Design.

NIST 800-53 r5 controls that address this weakness (0)AI

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing). Drafted by Grok and spot-checked by Claude Opus 4.8.

Direction: other covers this; this covers other (F/M/P = full / mostly / partial).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2021-391123.54.80.00732021-08-25
CVE-2021-336973.56.10.00562021-09-15
CVE-2022-15833.56.50.01262022-05-30
CVE-2022-26003.55.40.00502022-08-22
CVE-2020-366243.56.30.00572022-12-22
CVE-2018-250583.54.20.00522022-12-29
CVE-2022-49273.55.50.00492023-03-05
CVE-2024-397273.56.10.00332024-12-25
CVE-2025-33014 UPD3.55.40.00202025-07-18
CVE-2025-598423.54.30.00212025-09-26
CVE-2018-250891.53.50.00502023-08-28
CVE-2025-42941 UPD1.53.50.00182025-08-12