Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Attack Patterns CAPEC-73 — User-Controlled Filename
CAPEC-73

User-Controlled Filename

TLP:CLEAR

Description

Typical severity: High. Likelihood of attack: High. An attack of this type involves an adversary inserting malicious characters (such as a XSS redirection) into a filename, directly or indirectly that is then used by the target software to generate HTML text or other potentially executable content. Many websites rely on user-generated content and dynamically build resources like files, filenames, and URL links directly from user supplied data. In this attack pattern, the attacker uploads code that can execute in the client browser and/or redirect the client browser to a site that the attacker owns. All XSS attack payload variants can be used to pass and exploit these vulnerabilities.

Mitigation

Design: Use browser technologies that do not allow client side scripting. | Implementation: Ensure all content that is delivered to client is sanitized against an acceptable content specification. | Implementation: Perform input validation for all remote content. | Implementation: Perform output validation for all remote content. | Implementation: Disable scripting languages such as JavaScript in browser

Details

Platforms
Software
Added
Jul 14, 2026
Leaving Threaticon

This link opens an external site that isn't part of the platform.