Weakness · High

CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)

What it is

The product does not adequately filter user-controlled input for special elements with control implications.

MITRE CWE 4.19.1

Severity (our rating)
High
Likelihood of exploit
Not rated by MITRE
Introduced during
Implementation
Exploited in the wild
No CVE in CISA's catalog

What an attacker can do

  • Modify Application Data (Integrity, Confidentiality, Availability)
  • Execute Unauthorized Code or Commands (Integrity, Confidentiality, Availability)

How to prevent it

Requirements

  • Programming languages and supporting technologies might be chosen which are not subject to these issues.

Implementation

  • Utilize an appropriate mix of allowlist and denylist parsing to filter special element syntax from all input.

CWE-75 on MITRE's CWE site

H2 Security

Found it in your code?

We review where it appears, fix it with your team, and check it was not already used against you.

Talk to our team

T Academy

Stop writing it in the first place

Learn to build software and systems without weaknesses like this one, with practice on real hosts in your browser, every objective checked on the machine.

Start free

Source: MITRE Common Weakness Enumeration, CWE version 4.19.1. CWE is a trademark of The MITRE Corporation.