CWE-451: User Interface (UI) Misrepresentation of Critical Information
The user interface (UI) does not properly represent critical information to the user, allowing the information - or its source - to be obscured or spoofed. This is often a component in phishing attacks.
Last updated
Overview
If an attacker can cause the UI to display erroneous data, or to otherwise convince the user to display information that appears to come from a trusted source, then the attacker could trick the user into performing the wrong action. This is often a component in phishing attacks, but other kinds of problems exist. For example, if the UI is used to monitor the security state of a system or network, then omitting or obscuring an important indicator could prevent the user from detecting and reacting to a security-critical event. UI misrepresentation can take many forms: Incorrect indicator: incorrect information is displayed, which prevents the user from understanding the true state of the product or the environment the product is monitoring, especially of potentially-dangerous conditions or operations. This can be broken down into several different subtypes. Overlay: an area of the display is intended to give critical information, but another process can modify the display by overlaying another element on top of it. The user is not interacting with the expected portion of the user interface. This is the problem that enables clickjacking attacks, although many other types of attacks exist that involve overlay. Icon manipulation: the wrong icon, or the wrong color indicator, can be influenced (such as making a dangerous .EXE executable look like a harmless .GIF) Timing: the product is performing a state transition or context switch that is presented to the user with an indicator, but a race condition can cause the wrong indicator to be used before the product has fully switched context. The race window could be extended indefinitely if the attacker can trigger an error. Visual truncation: important information could be truncated from the display, such as a long filename with a dangerous extension that is not displayed in the GUI because the malicious portion is truncated. The use of excessive whitespace can also cause truncation, or place the potentially-dangerous indicator outside of the user's field of view (e.g. "filename.txt .exe"). A different type of truncation can occur when a portion of the information is removed due to reasons other than length, such as the accidental insertion of an end-of-input marker in the middle of an input, such as a NUL byte in a C-style string. Visual distinction: visual information might be presented in a way that makes it difficult for the user to quickly and correctly distinguish between critical and unimportant segments of the display. Homographs: letters from different character sets, fonts, or languages can appear very similar (i.e. may be visually equivalent) in a way that causes the human user to misread the text (for example, to conduct phishing attacks to trick a user into visiting a malicious web site with a visually-similar name as a trusted site). This can be regarded as a type of visual distinction issue.
Real-world CVEs
497 recorded CVEs are caused by CWE-451 (User Interface (UI) Misrepresentation of Critical Information), including 2 in CISA's KEV (Known Exploited Vulnerabilities) catalog. KEVs are shown first. 362 new CWE-451 CVEs have been recorded so far in 2026 (70 in 2025).
- CVE-2024-43461CISA KEV
Windows MSHTML Platform Spoofing Vulnerability
High · CVSS 8.6 · EPSS 99th2024-09-10 - CVE-2024-38112CISA KEV
Windows MSHTML Platform Spoofing Vulnerability
High · CVSS 7.5 · EPSS 100th2024-07-09 - CVE-2026-84137
Spoofing issue in the DOM: Core & HTML component
Critical · CVSS 9.8 · EPSS 3th2026-09-01 - CVE-2026-2634
Spoofed web content presented under trusted domains using scripted navigation on Firefox iOS
Critical · CVSS 9.8 · EPSS 30th2026-02-24 - CVE-2026-0907Critical · CVSS 9.8 · EPSS 95th2026-01-20
- CVE-2026-0906Critical · CVSS 9.8 · EPSS 29th2026-01-20
- CVE-2025-46287Critical · CVSS 9.8 · EPSS 42th2025-12-12
- CVE-2025-8043
Incorrect URL truncation
Critical · CVSS 9.8 · EPSS 38th2025-07-22 - CVE-2024-23708Critical · CVSS 9.8 · EPSS 28th2024-05-07
- CVE-2026-113169Critical · CVSS 9.6 · EPSS 18th2026-10-20
- CVE-2026-113138Critical · CVSS 9.6 · EPSS 29th2026-10-20
- CVE-2026-113171Critical · CVSS 9.6 · EPSS 18th2026-10-20
Showing 12 of 497 recorded CWE-451 CVEs. Get an alert for each new one, with AI-written analysis and fixes.
Monitor these CVEsCommon consequences
What can happen when CWE-451 is exploited.
Hide Activities, Bypass Protection Mechanism
Affects: Non-Repudiation, Access Control
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-451, grouped by where in the lifecycle they apply.
Perform data validation (e.g. syntax, length, etc.) before interpreting the data.
Create a strategy for presenting information, and plan for how to display unusual characters.
Illustrative examples
Real CVEs that MITRE cites as examples of this weakness.
- CVE-2024-27936 — Chain: JavaScript-based application removes ANSI escape sequences in a dialog that asks permission for a particular file, causing the wrong filename to be visually presented for user approval (CWE-451), but the filename still contains the ANSI escape sequences (CWE-150), potentially causing the user to grant access to the wrong file.
- CVE-2004-2227 — Web browser's filename selection dialog only shows the beginning portion of long filenames, which can trick users into launching executables with dangerous extensions.
- CVE-2001-0398 — Attachment with many spaces in filename bypasses "dangerous content" warning and uses different icon. Likely resultant.
- CVE-2001-0643 — Misrepresentation and equivalence issue.
- CVE-2005-0593 — Lock spoofing from several different weaknesses.
- CVE-2004-1104 — Incorrect indicator: web browser can be tricked into presenting the wrong URL
- CVE-2005-0143 — Incorrect indicator: Lock icon displayed when an insecure page loads a binary file loaded from a trusted site.
- CVE-2005-0144 — Incorrect indicator: Secure "lock" icon is presented for one channel, while an insecure page is being simultaneously loaded in another channel.
- CVE-2004-0761 — Incorrect indicator: Certain redirect sequences cause security lock icon to appear in web browser, even when page is not encrypted.
- CVE-2004-2219 — Incorrect indicator: Spoofing via multi-step attack that causes incorrect information to be displayed in browser address bar.
- CVE-2004-0537 — Overlay: Wide "favorites" icon can overlay and obscure address bar
- CVE-2005-2271 — Visual distinction: Web browsers do not clearly associate a Javascript dialog box with the web page that generated it, allowing spoof of the source of the dialog. "origin validation error" of a sort?
- CVE-2005-2272 — Visual distinction: Web browsers do not clearly associate a Javascript dialog box with the web page that generated it, allowing spoof of the source of the dialog. "origin validation error" of a sort?
- CVE-2005-2273 — Visual distinction: Web browsers do not clearly associate a Javascript dialog box with the web page that generated it, allowing spoof of the source of the dialog. "origin validation error" of a sort?
- CVE-2005-2274 — Visual distinction: Web browsers do not clearly associate a Javascript dialog box with the web page that generated it, allowing spoof of the source of the dialog. "origin validation error" of a sort?
- CVE-2001-1410 — Visual distinction: Browser allows attackers to create chromeless windows and spoof victim's display using unprotected Javascript method.
- CVE-2002-0197 — Visual distinction: Chat client allows remote attackers to spoof encrypted, trusted messages with lines that begin with a special sequence, which makes the message appear legitimate.
- CVE-2005-0831 — Visual distinction: Product allows spoofing names of other users by registering with a username containing hex-encoded characters.
- CVE-2003-1025 — Visual truncation: Special character in URL causes web browser to truncate the user portion of the "user@domain" URL, hiding real domain in the address bar.
- CVE-2005-0243 — Visual truncation: Chat client does not display long filenames in file dialog boxes, allowing dangerous extensions via manipulations including (1) many spaces and (2) multiple file extensions.
- CVE-2005-1575 — Visual truncation: Web browser file download type can be hidden using whitespace.
- CVE-2004-2530 — Visual truncation: Visual truncation in chat client using whitespace to hide dangerous file extension.
- CVE-2005-0590 — Visual truncation: Dialog box in web browser allows user to spoof the hostname via a long "user:pass" sequence in the URL, which appears before the real hostname.
- CVE-2004-1451 — Visual truncation: Null character in URL prevents entire URL from being displayed in web browser.
- CVE-2004-2258 — Miscellaneous -- [step-based attack, GUI] -- Password-protected tab can be bypassed by switching to another tab, then back to original tab.
- CVE-2005-1678 — Miscellaneous -- Dangerous file extensions not displayed.
- CVE-2002-0722 — Miscellaneous -- Web browser allows remote attackers to misrepresent the source of a file in the File Download dialog box.
Terminology & mappings
Mapped taxonomies
- PLOVER: UI Misrepresentation of Critical Information
Attack patterns
CAPEC attack patterns that exploit this weakness.
Frequently asked questions
Common questions about CWE-451.
- What is CWE-451?
- The user interface (UI) does not properly represent critical information to the user, allowing the information - or its source - to be obscured or spoofed. This is often a component in phishing attacks.
- What CVEs are caused by CWE-451?
- 497 recorded CVEs are attributed to CWE-451, including CVE-2024-43461, CVE-2024-38112 and CVE-2026-84137. 2 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
- How do you prevent CWE-451?
- Perform data validation (e.g. syntax, length, etc.) before interpreting the data.
- What are the consequences of CWE-451?
- Exploiting CWE-451 can lead to: Hide Activities, Bypass Protection Mechanism.
- Is CWE-451 actively exploited?
- Yes. 2 CWE-451 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 497 recorded CVEs.
Sources
References
- MITRE CWE definition (CWE-451) (opens in a new tab)
- CWE-451 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Track CWE-451 CVEs
Get an alert when a new CWE-451 CVE affects your products, with AI-written analysis and remediation steps.