Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-86 (Web页面标识中非法字符转义处理不恰当) — Vulnerability Class 6

6 vulnerabilities classified as CWE-86 (Web页面标识中非法字符转义处理不恰当). AI Chinese analysis included.

CWE-86 represents a critical input validation weakness where software fails to properly neutralize invalid characters or byte sequences within identifiers such as tag names and URI schemes. Attackers typically exploit this flaw by injecting obfuscated payloads, like null bytes or encoded characters, to bypass security filters. For instance, a developer might attempt to block the "javascript:" protocol, but an attacker can circumvent this check using "java%00script," causing the browser to interpret the malicious script as valid. This discrepancy often leads to unintended control implications, including cross-site scripting or unauthorized command execution. To prevent such vulnerabilities, developers must implement rigorous input sanitization that strictly validates and encodes all user-supplied data before processing. Utilizing established security libraries and adhering to strict allow-listing principles ensures that only expected character sets are accepted, effectively neutralizing potential injection vectors before they reach the application logic.

MITRE CWE Description
The product does not neutralize or incorrectly neutralizes invalid characters or byte sequences in the middle of tag names, URI schemes, and other identifiers. Some web browsers may remove these sequences, resulting in output that may have unintended control implications. For example, the product may attempt to remove a "javascript:" URI scheme, but a "java%00script:" URI may bypass this check and still be rendered as active javascript by some browsers, allowing XSS or other attacks.
Common Consequences (1)
Confidentiality, Integrity, AvailabilityRead Application Data, Execute Unauthorized Code or Commands
Mitigations (2)
ImplementationUse and specify an output encoding that can be handled by the downstream component that is reading the output. Common encodings include ISO-8859-1, UTF-7, and UTF-8. When an encoding is not specified, a downstream component may choose a different encoding, either by assuming a default encoding or automatically inferring which encoding is being used, which can be erroneous. When the encodings are i…
ImplementationTo help mitigate XSS attacks against the user's session cookie, set the session cookie to be HttpOnly. In browsers that support the HttpOnly feature (such as more recent versions of Internet Explorer and Firefox), this attribute can prevent the user's session cookie from being accessible to malicious client-side scripts that use document.cookie. This is not a complete solution, since HttpOnly is n…
Effectiveness: Defense in Depth
CVE IDTitleCVSSSeverityPublished
CVE-2026-28417 Vim has OS Command Injection in netrw — vim 4.4 Medium2026-02-27
CVE-2025-66606 Yokogawa FAST/TOOLS 安全漏洞 — FAST/TOOLS 8.3AIHighAI2026-02-09
CVE-2025-20168 Cisco Common Services Platform Collector Cross-Site Scripting Vulnerability — Cisco Common Services Platform Collector Software 5.4 Medium2025-01-08
CVE-2025-20167 Cisco Common Services Platform Collector Cross-Site Scripting Vulnerability — Cisco Common Services Platform Collector Software 5.4 Medium2025-01-08
CVE-2025-20166 Cisco Common Services Platform Collector Cross-Site Scripting Vulnerability — Cisco Common Services Platform Collector Software 5.4 Medium2025-01-08
CVE-2023-31126 Improper Neutralization of Invalid Characters in Data Attribute Names in org.xwiki.commons:xwiki-commons-xml — xwiki-commons 9.1 Critical2023-05-09

Vulnerabilities classified as CWE-86 (Web页面标识中非法字符转义处理不恰当) represent 6 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.