# CVE-2026-101335: Code injection in Forminator Forms – Contact Form, Payment Form & Custom Form Builder

> Unauthenticated attackers can execute arbitrary WordPress shortcodes via crafted User-Agent and referer headers in Forminator Forms quiz notifications.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 16 Oct 2026
- **Updated:** 16 Oct 2026
- **Also known as:** CVE-2026-103910, GHSA-j6gp-6943-4w67

## What is CVE-2026-101335?

CVE-2026-101335 is a medium-severity code injection vulnerability in wpmudev Forminator Forms – Contact Form, Payment Form & Custom Form Builder, published on 16 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to, and including, 1.58.1. This is due to the forminator_replace_quiz_form_data() helper invoking do_shortcode() on the fully expanded notification body once the {quiz_result} merge tag has been substituted, while the earlier-substituted {user_agent} and {refer_url} merge tags carry unauthenticated attacker-controlled bytes (the User-Agent header and the referer_url POST parameter) through sanitize_text_field()/esc_html(), neither of which strip the '[' and ']' shortcode delimiters. This makes it possible for unauthenticated attackers to execute arbitrary WordPress shortcodes registered on the site by submitting a quiz whose notification template contains {quiz_result}; the resulting impact depends on the shortcodes exposed by other installed plugins/themes and can range from arbitrary content injection to information disclosure.

Weakness: CWE-94 (Improper Control of Generation of Code)

## Which versions are affected by CVE-2026-101335?


## How do I fix CVE-2026-101335?

No fix has been published for CVE-2026-101335 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-101335 being exploited?

There is no known exploitation of CVE-2026-101335 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-101335 and fix it if it is affected.

What it is: CVE-2026-101335 is a medium-severity code injection vulnerability in wpmudev Forminator Forms – Contact Form, Payment Form & Custom Form Builder, published on 16 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-101335 in the wild and no public exploit code.

Affected product: wpmudev Forminator Forms – Contact Form, Payment Form & Custom Form Builder. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-101335/ (Markdown: https://insights.sbomify.com/CVE-2026-101335/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-101335
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-101335
- OSV: https://osv.dev/vulnerability/CVE-2026-101335

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-101335/
Summaries are generated and may contain mistakes; the official description above is the record.
