Executive brief
The Devs Accounting plugin for WordPress, which manages business finances and invoicing, contains a security flaw that allows unauthorized individuals to delete accounting records. By accessing a specific web address associated with the plugin, an attacker can remove account data without needing a password or administrative access. This could lead to the loss of financial records and disruption of accounting operations.
Technical details
The vulnerability is classified as Missing Authorization (CWE-862) within the delete_single_account() function. The REST API route 'devs-accounting/v1/delete-account/(?P<id>\d+)' is registered without a 'permission_callback', making it accessible to unauthenticated users. An attacker can exploit this by sending a simple GET request to the endpoint with a targeted account ID, resulting in the soft-deletion of records in the 'wp_dac_accounts' database table. The issue exists in all versions up to and including 1.2.0.
Affected products
- ajitdas Devs Accounting – Simple Accounting and Invoicing Solution up to, and including, 1.2.0
Timeline
- 2026-06-24: disclosed: Vulnerability published to NVD via Wordfence
References
- https://plugins.trac.wordpress.org/browser/devs-accounting/tags/1.2.0/classes/class-devs-accounting-accounts.php
- https://plugins.trac.wordpress.org/browser/devs-accounting/tags/1.2.0/classes/class-devs-accounting-accounts.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/bbe99411-ba74-4e97-8d14-659897942906?source=cve