CWE-82Improper Neutralization of Script in Attributes of IMG Tags in a Web Page

PUBLISHEDweakness record
released 2006-07-19 · last modified 2025-12-11

Metadata

CWE ID:
CWE-82
摘要:
Variant
结构:
Simple
状态:
Incomplete
发布日期:
2006-07-19
更新日期:
2025-12-11

名称

Improper Neutralization of Script in Attributes of IMG Tags in a Web Page

描述

The web application does not neutralize or incorrectly neutralizes scripting elements within attributes of HTML IMG tags, such as the src attribute.

Attackers can embed XSS exploits into the values for IMG attributes (e.g. SRC) that is streamed and then executed in a victim's browser. Note that when the page is loaded into a user's browsers, the exploit will automatically execute.

常见后果

范围:
Confidentiality, Integrity, Availability
影响:
Read Application Data, Execute Unauthorized Code or Commands

相关 CWE