CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
low-riskThe product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.
Common Consequences
Detection Methods
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Real-World Examples (10)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2024-4439 | 7.2 | 91.5% | — |
| CVE-2020-13965 | 6.1 | 71.8% | Y |
| CVE-2020-13562 | 6.1 | 71.0% | — |
| CVE-2024-41810 | 6.1 | 67.8% | — |
| CVE-2022-36096 | 8.9 | 54.5% | — |
| CVE-2022-36094 | 8.9 | 49.2% | — |
| CVE-2022-36097 | 8.9 | 44.2% | — |
| CVE-2024-10592 | 6.4 | 41.4% | — |
| CVE-2020-13563 | 6.1 | 39.5% | — |
| CVE-2020-13564 | 6.1 | 39.5% | — |