WP HTML Mail <= 3.0.9 - Missing Authorization on Rest Route

Missing Authorization
CVE CVE-2022-0218
CVSS High (8.3)
Publicly Published January 19, 2022
Last Updated January 22, 2024
Researcher Chloe Chamberland
Description

The WP HTML Mail WordPress plugin is vulnerable to unauthorized access which allows unauthenticated attackers to retrieve and modify theme settings due to a missing capability check on the /themesettings REST-API endpoint found in the ~/includes/class-template-designer.php file, in versions up to and including 3.0.9. This makes it possible for attackers with no privileges to execute the endpoint and add malicious JavaScript to a vulnerable WordPress site.

References

1 affected software package

Software Type Plugin
Software Slug wp-html-mail (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.0.9
Patched Version
  • 3.1
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.