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.
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.
CVE-2024-27936Chain: 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-2227Web 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-0398Attachment with many spaces in filename bypasses "dangerous content" warning and uses different icon. Likely resultant.
CVE-2001-0643Misrepresentation and equivalence issue.
CVE-2005-0593Lock spoofing from several different weaknesses.