MEDIUM

CVE-2026-9172

2026-06-24 CVSS v3.1
CVSS
5.3

Description

The Devs Accounting – Simple Accounting and Invoicing Solution plugin for WordPress is vulnerable to unauthorized modification/deletion of data due to a missing capability check on the delete_single_account() function in versions up to, and including, 1.2.0. The REST route 'devs-accounting/v1/delete-account/(?P<id>\d+)' is registered without any permission_callback, which causes WordPress to expose the endpoint to public, unauthenticated access. This makes it possible for unauthenticated attackers to soft-delete arbitrary accounting account records (wp_dac_accounts) by issuing a simple GET request to the endpoint with any account ID.

Summary dbcve.org

This WordPress plugin has a broken access control vulnerability where the REST endpoint 'devs-accounting/v1/delete-account/(?P<id>\d+)' lacks a permission_callback, causing WordPress to expose it to public/unauthenticated access. Attackers can soft-delete arbitrary accounting records (wp_dac_accounts) by sending a simple GET request with any account ID.

Mitigation

Add a proper permission_callback to the REST route registration that verifies user capabilities (e.g., 'manage_options' or a custom capability) before executing delete_single_account(). Alternatively, change the endpoint to require authentication.

Weakness (CWE)

CWE-862 Missing Authorization

EPSS Score

0.39%
Probability of exploitation in next 30 days
32.9th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE