Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 56%

CVE-2026-12416: CWE-640 Weak Password Recovery Mechanism for Forgotten Password in pravel Invoice Generator

0
Critical
VulnerabilityCVE-2026-12416cvecve-2026-12416cwe-640
Published: 06/24/2026 (06/24/2026, 05:33:30 UTC)
Source: CVE Database V5
Vendor/Project: pravel
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
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

Affected software

Affected versions
<=1.0.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 22:42:45 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses