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…

CVE-2025-13987: CWE-352 Cross-Site Request Forgery (CSRF) in codnloc Purchase and Expense Manager

0
Medium
VulnerabilityCVE-2025-13987cvecve-2025-13987cwe-352
Published: Fri Dec 12 2025 (12/12/2025, 03:20:57 UTC)
Source: CVE Database V5
Vendor/Project: codnloc
Product: Purchase and Expense Manager

Description

The Purchase and Expense Manager plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.1.2. This is due to missing nonce validation on the 'sup_pt_handle_deletion' function. This makes it possible for unauthenticated attackers to delete arbitrary purchase records via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 10:38:27 UTC

Technical Analysis

CVE-2025-13987 is a medium severity security vulnerability classified as CWE-352 (Cross-Site Request Forgery) found in the Purchase and Expense Manager plugin for WordPress, developed by codnloc. The vulnerability exists in all versions up to and including 1.1.2 due to the absence of nonce validation in the 'sup_pt_handle_deletion' function, which handles deletion of purchase records. Nonce validation is a security mechanism designed to ensure that requests are intentional and originate from legitimate users. Without this protection, an attacker can craft a malicious request that, when executed by an authenticated site administrator (via clicking a link or visiting a crafted webpage), causes the deletion of arbitrary purchase records. This attack vector does not require the attacker to be authenticated but does require user interaction from an administrator. The vulnerability impacts the integrity of purchase data but does not compromise confidentiality or availability. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N) reflects that the attack can be performed remotely over the network with low complexity, no privileges required, but requires user interaction, and impacts integrity only. There are no known exploits in the wild at the time of publication, and no official patches or mitigations have been linked yet. The vulnerability was publicly disclosed on December 12, 2025, with the CVE reserved on December 3, 2025.

Potential Impact

The primary impact of this vulnerability is the unauthorized deletion of purchase records, which compromises data integrity within the Purchase and Expense Manager plugin. For organizations relying on this plugin to track financial transactions, such data loss can disrupt accounting processes, lead to inaccurate financial reporting, and potentially cause compliance issues. Although confidentiality and availability are not directly affected, the integrity breach can undermine trust in financial data and complicate audits. Attackers do not gain direct access to sensitive data but can cause operational disruption by deleting critical records. Since exploitation requires tricking an administrator into clicking a malicious link, social engineering is a key component of the attack. Organizations with multiple administrators or less security-aware staff are at higher risk. The absence of known exploits reduces immediate risk, but the vulnerability remains exploitable until patched.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately implement nonce validation on the 'sup_pt_handle_deletion' function if they maintain custom or forked versions of the plugin. This involves verifying a unique, single-use token with each deletion request to confirm legitimacy. Until an official patch is released by codnloc, administrators should be trained to recognize and avoid clicking suspicious links or performing deletion actions from untrusted sources. Employing web application firewalls (WAFs) with rules to detect and block CSRF attempts targeting the plugin's deletion endpoints can provide additional protection. Regular backups of purchase data should be maintained to enable recovery from unauthorized deletions. Monitoring logs for unusual deletion activity can help detect exploitation attempts early. Finally, organizations should track updates from the vendor and apply official patches promptly once available.

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
2025-12-03T17:04:44.930Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 693b9187650da22753edbd43

Added to database: 12/12/2025, 3:52:39 AM

Last enriched: 2/27/2026, 10:38:27 AM

Last updated: 3/24/2026, 12:47:29 AM

Views: 79

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