CVE-2026-12416: CWE-640 Weak Password Recovery Mechanism for Forgotten Password in pravel Invoice Generator
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.
AI Analysis
Technical Summary
CVE-2026-12416 describes a critical vulnerability in the pravel Invoice Generator WordPress plugin affecting all versions up to 1.0.0. The vulnerability arises because the `pravel_invoice_change_password()` function is exposed as a no-privilege AJAX handler without nonce verification or authorization checks. It performs a loose equality check between the supplied `reset_activation_code` and the user's stored `forgot_email` meta, which evaluates to true if the user has never initiated a password reset (empty strings compared loosely). This allows an attacker to omit the activation code and supply an arbitrary user ID to reset that user's password to an attacker-chosen value, enabling full account takeover, including administrator accounts.
Potential Impact
Successful exploitation results in complete compromise of any user account on the affected WordPress site, including administrator accounts. This leads to full control over the site, including potential data theft, site defacement, or further malicious activity. The vulnerability has a CVSS 3.1 score of 9.8 (critical), reflecting its ease of exploitation (network, no privileges, no user interaction) and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation is currently available as per the provided data. Administrators should monitor the vendor's advisory for updates. Until a fix is released, restricting access to the AJAX endpoint or disabling the plugin may reduce risk. Avoid using affected versions (<=1.0.0) in production environments. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-12416: CWE-640 Weak Password Recovery Mechanism for Forgotten Password in pravel Invoice Generator
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.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-12416 describes a critical vulnerability in the pravel Invoice Generator WordPress plugin affecting all versions up to 1.0.0. The vulnerability arises because the `pravel_invoice_change_password()` function is exposed as a no-privilege AJAX handler without nonce verification or authorization checks. It performs a loose equality check between the supplied `reset_activation_code` and the user's stored `forgot_email` meta, which evaluates to true if the user has never initiated a password reset (empty strings compared loosely). This allows an attacker to omit the activation code and supply an arbitrary user ID to reset that user's password to an attacker-chosen value, enabling full account takeover, including administrator accounts.
Potential Impact
Successful exploitation results in complete compromise of any user account on the affected WordPress site, including administrator accounts. This leads to full control over the site, including potential data theft, site defacement, or further malicious activity. The vulnerability has a CVSS 3.1 score of 9.8 (critical), reflecting its ease of exploitation (network, no privileges, no user interaction) and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation is currently available as per the provided data. Administrators should monitor the vendor's advisory for updates. Until a fix is released, restricting access to the AJAX endpoint or disabling the plugin may reduce risk. Avoid using affected versions (<=1.0.0) in production environments. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-16T16:00:47.462Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3b7811eed863c81e5f71f8
Added to database: 06/24/2026, 06:24:17 UTC
Last enriched: 07/01/2026, 22:42:45 UTC
Last updated: 08/08/2026, 12:41:08 UTC
Views: 212
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.