MEDIUM 5.3

CVE-2026-12127: WPForms CRLF Injection in Email Headers – Blind-Copy Data Exfiltration

WPForms, a popular WordPress form-building plugin, contains a flaw that allows unauthenticated attackers to secretly redirect copies of form notification emails to attacker-controlled addresses. The vulnerability stems from improper handling of carriage-return and line-feed characters in form field data when constructing email headers. An attacker can craft a form submission using a textarea field configured as the Reply-To display name to inject additional email headers like Bcc:, causing the site to silently blind-copy all notification emails sent by the form to a third party. This data exfiltration occurs without the site owner's knowledge or consent.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses (CWE)
CWE-93
Affected products
0 configuration(s)
Published / Modified
2026-07-01 / 2026-07-01

NVD description (verbatim)

The WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More plugin for WordPress is vulnerable to Improper Neutralization of CRLF Sequences ('CRLF Injection') in all versions up to, and including, 1.10.2 This is due to `get_reply_to_address()` processing the Reply-To display name through smart-tag expansion with context `'notification'` instead of `'notification-reply-to'`, which bypasses email-address validation while `wpforms_sanitize_textarea_field()` intentionally preserves CR/LF characters that are never stripped before the display name is concatenated into the raw `Reply-To:` mail header string. This makes it possible for unauthenticated attackers to inject arbitrary additional email headers — such as `Bcc:` — into outgoing notification emails, silently blind-copying all notification email copies to an attacker-controlled address. Exploitation requires that a form notification is configured to use a Paragraph Text (textarea) field as the Reply-To display name via a Smart Tag.

11 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-12127 is a CRLF injection vulnerability (CWE-93) in the WPForms plugin's get_reply_to_address() function. The vulnerability occurs because the function processes Reply-To display names using smart-tag expansion with the 'notification' context instead of the stricter 'notification-reply-to' context, bypassing email validation. The wpforms_sanitize_textarea_field() function intentionally preserves carriage return (CR) and line feed (LF) characters for legitimate textarea content, but these characters are never stripped before the display name is concatenated directly into the raw Reply-To: mail header. This allows an attacker to inject CRLF sequences followed by malicious headers (e.g., Bcc: [email protected]) into the email header structure. Exploitation requires that a form notification be configured to use a Paragraph Text (textarea) smart tag as the Reply-To display name, a plausible real-world configuration in forms that dynamically populate sender metadata from user input.

Business impact

This vulnerability enables data exfiltration from form submissions without detection. Organizations using WPForms may unknowingly leak sensitive form data—including customer inquiries, support requests, payment-related information, or survey responses—to attacker-controlled email accounts. The lack of visibility into the blind-copy makes detection difficult; notification emails appear to send normally to the intended recipient while copies are silently diverted. For businesses reliant on form data for customer engagement, compliance, or decision-making, this represents both a privacy breach and potential regulatory exposure, particularly under GDPR, CCPA, or similar data protection regimes that mandate awareness of data flows.

Affected systems

All versions of the WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More plugin up to and including version 1.10.2 are vulnerable. The vulnerability affects any WordPress installation running an affected version of WPForms where a form notification is configured to use a Paragraph Text field as the Reply-To display name via a smart tag (e.g., {field_name}). This is a common pattern for dynamic form configurations where user-submitted data populates email metadata. The vulnerability is not marked as actively exploited in the CISA KEV catalog as of the publication date.

Exploitability

Exploitation requires minimal prerequisites and can be carried out by unauthenticated actors. An attacker needs only to identify a WordPress site using WPForms and locate a form whose notification settings use a textarea field smart tag for the Reply-To display name—a configuration that is likely to occur in real-world deployments seeking flexible email routing. The attacker then crafts a form submission containing CRLF sequences (\r\n) followed by header injection payload (e.g., \r\nBcc: [email protected]) in the textarea field. No authentication, special privileges, or user interaction beyond standard form submission is required. The attack is reliable and deterministic once the vulnerable configuration is identified.

Remediation

Upgrade the WPForms plugin to a patched version beyond 1.10.2. Verify the specific patched version number in the official WPForms security advisory or your WordPress plugin dashboard. As an interim mitigation, audit all form notifications to identify those using textarea-based smart tags in the Reply-To display name field and temporarily reconfigure them to use static values or alternative smart tags that do not derive from user input. Additionally, configure mail server settings to enforce strict header validation and filter CRLF sequences at the server level if the mail service supports header filtering.

Patch guidance

Check the WPForms plugin update mechanism in your WordPress admin dashboard for availability of a security patch. Verify against the official WPForms security advisory for the specific version number that addresses CVE-2026-12127. Once a patched version is confirmed available, test in a staging environment to ensure compatibility with your form configurations and any custom smart-tag implementations before deploying to production. If automatic updates are not enabled, manually trigger the update from Plugins > Installed Plugins after confirming patch availability.

Detection guidance

Review form notification configurations in WPForms settings to identify any that use Paragraph Text (textarea) field smart tags in the Reply-To display name. Audit mail server logs for unexpected Bcc: headers or evidence of email redirection to unauthorized addresses. Monitor SMTP/mail gateway logs for anomalous CRLF sequences in email header fields, particularly in form notification submissions. If your site logs form submissions, examine textarea field content for CRLF byte sequences (0x0D0x0A) which may indicate exploit attempts. Consider enabling email header logging on your mail server to capture raw SMTP traffic for forensic analysis.

Why prioritize this

Although rated MEDIUM severity (CVSS 5.3) due to limited attack scope and lack of system compromise, the vulnerability should be prioritized for patching due to its ease of exploitation and the silent nature of data exfiltration. Unlike attacks that trigger visible errors or performance degradation, CRLF injection in email headers leaves minimal forensic traces. Organizations managing sensitive form data—particularly those in regulated industries—should treat this as a data confidentiality risk and patch promptly.

Risk score, explained

The CVSS 5.3 score reflects a network-accessible vulnerability (AV:N) requiring no privileges (PR:N) or user interaction (UI:N) that results in a low integrity impact (I:L) without confidentiality loss or availability disruption at the system level. However, the integrity impact is rated 'Low' rather than reflecting the full scope of data exposure because the attack compromises the integrity of email routing and header structure rather than the integrity of the form submission data itself. Organizations should consider raising their internal risk rating if forms handle regulated or sensitive personal data, as the practical impact of silent data diversion exceeds the technical CVSS rating.

Frequently asked questions

Can an attacker access form submissions that have already been sent?

No. The vulnerability only allows an attacker to intercept email copies of new form submissions created after the exploit is injected. Historical submissions already sent cannot be redirected. However, if a form is reconfigured to be vulnerable and left unpatched, all subsequent submissions are at risk.

Will the legitimate form submitter or site owner notice the blind-copy?

Not necessarily. The attacker's injected Bcc: header is added silently to the email header structure and does not appear in the body or standard recipient fields visible in typical email clients. The site owner may not discover the exfiltration unless they specifically audit email headers or notice suspicious mail server activity.

Is this vulnerability only active in specific WordPress configurations?

The vulnerability requires that at least one form notification is configured to use a Paragraph Text (textarea) field smart tag as the Reply-To display name. Many form builders do use dynamic smart tags for email metadata, so the vulnerable configuration is realistic, but not every WPForms installation will be affected if notifications do not use textarea-based smart tags in the Reply-To field.

Can I patch just the vulnerable function or do I need to update the entire plugin?

You must update the entire WPForms plugin to the patched version. Do not attempt manual code edits, as the fix likely involves both the smart-tag expansion context and the sanitization logic, and partial patching could leave the vulnerability intact or introduce new issues.

This analysis is provided for informational and educational purposes. Patch version numbers and specific remediation steps should be verified against the official WPForms security advisory and your vendor documentation. The vulnerability details are current as of the publication date (2026-07-01); for the latest status, including KEV inclusion or active exploitation, consult CISA and the WPForms security resources. This analysis does not constitute legal advice or a guarantee of security; organizations should conduct their own risk assessment and testing before deploying patches in production environments. Source: NVD (public-domain), retrieved 2026-08-09. Analysis generated by SEC.co (claude-haiku-4-5).