---
title: "CAPEC-134: Email Injection"
url: https://radicalnotion.ai/capec/capec-134
type: capec
description: "An adversary manipulates the headers and content of an email message by injecting data via the use of delimiter characters native to the protocol."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-134: Email Injection

- **Abstraction:** Standard
- **Status:** Draft
- **Typical severity:** Medium
- **CAPEC catalog version:** 3.9

## Description

An adversary manipulates the headers and content of an email message by injecting data via the use of delimiter characters native to the protocol.

Many applications allow users to send email messages by filling in fields. For example, a web site may have a link to "share this site with a friend" where the user provides the recipient's email address and the web application fills out all the other fields, such as the subject and body. In this pattern, an adversary adds header and body information to an email message by injecting additional content in an input field used to construct a header of the mail message. This attack takes advantage of the fact that RFC 822 requires that headers in a mail message be separated by a carriage return. As a result, an adversary can inject new headers or content simply by adding a delimiting carriage return and then supplying the new heading and body information. This attack will not work if the user can only supply the message body since a carriage return in the body is treated as a normal character.

## Prerequisites

- The target application must allow the user to send email to some recipient, to specify the content at least one header field in the message, and must fail to sanitize against the injection of command separators.
- The adversary must have the ability to access the target mail application.

## Resources required

- None: No specialized resources are required to execute this type of attack.

## Related weaknesses (CWE)

- [CWE-150](https://radicalnotion.ai/cwe/cwe-150): Improper Neutralization of Escape, Meta, or Control Sequences

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-137](https://radicalnotion.ai/capec/capec-137) | Parameter Injection |
| Child | [CAPEC-41](https://radicalnotion.ai/capec/capec-41) | Using Meta-characters in E-mail Headers to Inject Malicious Payloads |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| WASC | Mail Command Injection | 30 |

## Frequently asked questions

### What is CAPEC-134?

An adversary manipulates the headers and content of an email message by injecting data via the use of delimiter characters native to the protocol.

### What weaknesses does CAPEC-134 target?

CAPEC-134 exploits one CWE weakness: CWE-150 (Improper Neutralization of Escape, Meta, or Control Sequences).

### How severe is CAPEC-134?

MITRE rates CAPEC-134 as Medium severity.

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/134.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-134). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
