Vulnerability in Pravel Invoice Generator
CVE-2026-12416
The Invoice Generator plugin for WordPress is vulnerable to Account Takeover via Password Reset in all versions up to, and including, 1.0.0. This is due to the `pravel_invoice_change_password()` function being registered as a nopriv AJAX handler with no nonce verification and no authorization check, and performing a loose equality comparison between the supplied `reset_activation_code` POST parameter and the target user's stored `forgot_email` user meta — a check that trivially evaluates to true (`'' == ''`) for any user who has never initiated a forgot-password request, which applies to administrators under normal conditions. This makes it possible for unauthenticated attackers to supply an arbitrary user ID via the `reset_user_id` POST parameter, bypass the activation code check entirely by omitting `reset_activation_code`, and set the target account's password to an attacker-chosen value, enabling full takeover of any account on the site, including administrator accounts.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 52.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pravel Invoice Generator — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Nxploited/CVE-2026-12416-CVE-2026-12417 (3 stars, last pushed 2026-06-24): Unauthenticated Account Takeover via Weak Password Reset Validation via 'reset_user_id' Parameter | Unauthenticated Privilege Escalation via Weak Password Reset Validation via 'reset_activation_code'…
References
- www.wordfence.com/threat-intel/vulnerabilities/id/cc0fbe84-e455-4e62-9c48-49340…
- plugins.trac.wordpress.org/browser/invoice-creator/tags/1.0.0/lib/user-manage-f…
- plugins.trac.wordpress.org/browser/invoice-creator/tags/1.0.0/lib/user-manage-f…
- plugins.trac.wordpress.org/browser/invoice-creator/tags/1.0.0/lib/user-manage-f…
This CVE has public exploit evidence. See the latest CVEs with public exploits.