Back to overview

CVE-2026-12416

CRITICAL
9.8
CVSS 3.1
Description
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.

Metadata

CVE ID
CVE-2026-12416
State
PUBLISHED
Assigner
Wordfence
Reserved
2026-06-16 16:00 UTC
Published
2026-06-24 05:33 UTC
Last updated
2026-06-24 05:33 UTC
Primary CWE
CWE-640
CWE-640 Weak Password Recovery Mechanism for Forgotten Passw…
Vendor / Product
pravel / Invoice Generator
Sources
cve.org  ·  NVD

Severity & Metrics

9.8 CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products (1)
VendorProductPlatformVersions
pravel Invoice Generator 0 ≤ 1.0.0
Weakness (CWE)
CWESourceDescription
CWE-640 cna CWE-640 Weak Password Recovery Mechanism for Forgotten Password
CVSS scores (1)
ScoreSeverityVersionSourceVector
9.8 CRITICAL 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Back to overview