CVE-2021-4416
JSON

4.3medium

wp-mpdf <= 3.5.1 - Cross-Site Request Forgery Bypass

Severity
4.3medium CVSS:3.1 by Wordfence
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

Description

The wp-mpdf plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 3.5.1. This is due to missing or incorrect nonce validation on the mpdf_admin_savepost() function. This makes it possible for unauthenticated attackers to save post data via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Affected

Product or packageVersionsReported by
fkrauthan wp-mpdfup to 3.5.1CVE List
wp-mpdf_project wp-mpdfup to 3.5.1NVD

Classification

CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The wp-mpdf plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 3.5.1. This is due to missing or incorrect nonce validation on the mpdf_admin_savepost() function. This makes it possible for unauthenticated attackers to save post data via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

NVD (es)

El plugin wp-mpdf para WordPress es vulnerable a ataques de tipo Cross-Site Request Forgery en versiones hasta la 3.5.1 inclusive. Esto es debido a la falta o incorrecta validación nonce en la función "mpdf_admin_savepost()". Esto hace posible que atacantes no autenticados guarden los datos POST a través de una petición manipulada, lo que les permite engañar a un administrador del sitio para que realice una acción, como hacer clic en un enlace.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/c47386ee-25c8-4a77-92e8-5a82afc9c826?source=cvethird-party-advisory
https://blog.nintechnet.com/25-wordpress-plugins-vulnerable-to-csrf-attacks/third-party-advisory
https://blog.nintechnet.com/more-wordpress-plugins-and-themes-vulnerable-to-csrf-attacks/third-party-advisory
https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-3/third-party-advisory
https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-2/third-party-advisory
https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-1/third-party-advisory
https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-5/third-party-advisory
https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-4/third-party-advisory
https://plugins.trac.wordpress.org/changeset/2549363/wp-mpdf/trunk/wp-mpdf.phppatch

Sources

SourceRecordLicence
CVE ListCVE-2021-4416 changed 2026-04-08CVE Terms of Use
NVDCVE-2021-4416 changed 2026-06-17Public domain