CWE-640Weakness · CWE-640

CVE-2026-12416

CRITICAL · 9.8 CVSS v3.1 Published 2026-06-24
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Invoice Generator plugin for WordPress (versions up to 1.0.0) contains an unauthenticated account takeover vulnerability in the `pravel_invoice_change_password()` AJAX handler. The function lacks nonce verification and authorization checks, and uses loose equality (`==`) to compare the supplied reset code against user meta. For users who never initiated a password reset (including administrators), both values are empty strings, causing the check to pass. Attackers can supply any user ID and an arbitrary new password to take over any account.

MitigationUpdate the plugin to a patched version if available; otherwise, disable the plugin immediately. The fix requires adding nonce verification, proper authorization checks, using strict equality, and validating reset codes before allowing password changes.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Confirm Invoice Generator plugin is installed
    Navigate to WordPress admin dashboard > Plugins, or inspect the /wp-content/plugins/ directory for a folder named 'invoice-generator', 'invoice-generator-plugin', or similar. Check the plugin files for version information in the main PHP file header.
    Affected if The Invoice Generator plugin is present in the WordPress installation
  2. Identify the installed plugin version
    Open the main plugin PHP file (usually named invoice-generator.php or similar in the plugin folder) and locate the 'Version' header comment in the file metadata. Compare this version number to the affected range (versions up to and including 1.0.0).
    Affected if The plugin version is 1.0.0 or lower
  3. Verify the vulnerable AJAX handler exists
    Locate the plugin PHP files and search for the function 'pravel_invoice_change_password'. This function handles the AJAX password change request. Inspect its contents to confirm it uses loose equality (==) for reset code comparison and lacks nonce verification.
    Affected if The function exists and performs password changes without proper nonce verification and authorization checks
  4. Check if AJAX endpoint is accessible
    Test access to the WordPress AJAX endpoint (typically /wp-admin/admin-ajax.php) with the action parameter 'pravel_invoice_change_password' using a tool like curl or Burp Suite. Observe if the handler executes without requiring authentication.
    Affected if The AJAX handler processes requests without requiring valid authentication tokens

If the Invoice Generator plugin version is 1.0.0 or lower and the vulnerable AJAX handler is present and accessible, the environment is affected by this account takeover vulnerability.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Update the plugin to a patched version if available; otherwise, disable the plugin immediately. The fix requires adding nonce verification, proper authorization checks, using strict equality, and validating reset codes before allowing password changes.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing2.0 h
  • Review / QA2.0 h
9.0 hours of engineering $1,600
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-12416 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-12416 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data