6.4medium
Ninja Forms <= 3.5.7 Unprotected REST-API to Email Injection
- Severity
- 6.4medium CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.66% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
Description
The Ninja Forms WordPress plugin is vulnerable to arbitrary email sending via the trigger_email_action function found in the ~/includes/Routes/Submissions.php file, in versions up to and including 3.5.7. This allows authenticated attackers to send arbitrary emails from the affected server via the /ninja-forms-submissions/email-action REST API which can be used to socially engineer victims.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Saturday Drive Ninja Forms | from 3.5.7 up to 3.5.7 | CVE List |
| ninjaforms ninja_forms | up to 3.5.7 | NVD |
All scores
| Wordfence | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
The Ninja Forms WordPress plugin is vulnerable to arbitrary email sending via the trigger_email_action function found in the ~/includes/Routes/Submissions.php file, in versions up to and including 3.5.7. This allows authenticated attackers to send arbitrary emails from the affected server via the /ninja-forms-submissions/email-action REST API which can be used to socially engineer victims.
NVD (es)
El plugin Ninja Forms de WordPress es vulnerable al envío de correos electrónicos arbitrarios por medio de la función trigger_email_action que se encuentra en el archivo ~/includes/Routes/Submissions.php, en versiones hasta la 3.5.7 inclusive. Esto permite a atacantes autenticados enviar correos electrónicos arbitrarios desde el servidor afectado por medio de la API REST /ninja-forms-submissions/email-action, que puede ser usada para llevar a cabo ingeniería social a las víctimas
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-34648 changed 2025-03-31 | CVE Terms of Use |
| NVD | CVE-2021-34648 changed 2026-06-17 | Public domain |