CVE-2025-60159 Overview
CVE-2025-60159 is a missing authorization vulnerability in the webmaniabr Nota Fiscal Eletrônica WooCommerce plugin for WordPress. The flaw affects all versions of nota-fiscal-eletronica-woocommerce up to and including 3.4.0.9. Authenticated attackers with low privileges can exploit incorrectly configured access control security levels to reach functionality that should be restricted. The weakness is categorized under [CWE-862] Missing Authorization. Patchstack tracked and published the advisory covering this broken access control issue. The vulnerability results in a limited integrity impact without compromising confidentiality or availability of the WordPress site.
Critical Impact
Authenticated users with low privilege can bypass access control checks and interact with plugin functionality that should be restricted, altering data managed by the Nota Fiscal Eletrônica WooCommerce plugin.
Affected Products
- webmaniabr Nota Fiscal Eletrônica WooCommerce plugin
- All versions from n/a through 3.4.0.9
- WordPress sites running WooCommerce with the affected plugin installed
Discovery Timeline
- 2025-09-26 - CVE-2025-60159 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-60159
Vulnerability Analysis
The plugin exposes one or more endpoints or actions that do not enforce proper capability checks. WordPress plugins typically validate the caller with current_user_can() or nonce verification before performing privileged operations. When these checks are missing or misconfigured, any authenticated session, including low-privilege roles such as subscribers or customers, can reach functionality intended for administrators or shop managers.
The attack requires network access and low privileges, and no user interaction is needed. Successful exploitation yields limited integrity impact, meaning an attacker can modify a subset of data controlled by the plugin without disrupting site availability or exposing confidential information. Nota Fiscal Eletrônica plugins handle Brazilian electronic invoice issuance, so unauthorized modification of invoice-related data or plugin state could affect order records and fiscal documents.
Root Cause
The root cause is [CWE-862] Missing Authorization. Handler functions in the plugin do not verify that the requesting user holds the capability required to invoke the action. The advisory from Patchstack classifies this as a broken access control vulnerability affecting versions up to 3.4.0.9.
Attack Vector
An attacker authenticates to the WordPress site with any valid account, then sends a crafted HTTP request to a plugin endpoint (typically an admin-ajax.php action or a REST route registered by the plugin). Because the endpoint lacks proper authorization checks, the request is processed and executes plugin logic that should be restricted to elevated roles.
See the Patchstack Vulnerability Report for additional technical context.
Detection Methods for CVE-2025-60159
Indicators of Compromise
- Unexpected requests from low-privilege user accounts to plugin AJAX actions or REST endpoints associated with nota-fiscal-eletronica-woocommerce.
- Modification of Nota Fiscal invoice records, plugin settings, or order metadata by accounts that lack the manage_woocommerce or manage_options capability.
- WordPress audit logs showing plugin actions executed outside normal administrative workflows.
Detection Strategies
- Review WordPress access logs for POST requests to wp-admin/admin-ajax.php referencing plugin-specific actions from non-administrator sessions.
- Correlate authenticated session activity with role-based expected behavior to identify capability mismatches.
- Deploy a WordPress security plugin or web application firewall (WAF) with virtual patching rules for the Patchstack advisory.
Monitoring Recommendations
- Enable WordPress activity logging that records the acting user, capability, and target action for every plugin request.
- Alert on any invoice creation, modification, or deletion event performed by users below the shop manager role.
- Monitor for spikes in requests to plugin endpoints following the CVE publication date.
How to Mitigate CVE-2025-60159
Immediate Actions Required
- Identify whether the nota-fiscal-eletronica-woocommerce plugin is installed and confirm the installed version is 3.4.0.9 or earlier.
- Restrict registration and low-privilege access on affected sites until an updated version is applied.
- Apply the vendor's patched release once it is available and validated against the Patchstack advisory.
Patch Information
At the time of the NVD entry, the advisory identifies affected versions up to and including 3.4.0.9. Consult the Patchstack Vulnerability Report and the plugin listing on WordPress.org for the fixed release. Update through the WordPress admin dashboard once a patched version is published by webmaniabr.
Workarounds
- Deploy a WAF rule or Patchstack virtual patch to block unauthenticated and low-privilege access to the plugin's AJAX and REST endpoints.
- Temporarily disable the plugin on sites that do not require electronic invoice issuance until a patched release is deployed.
- Enforce least-privilege user roles and remove unused accounts that could be leveraged to reach the vulnerable endpoints.
# Example WP-CLI commands to inventory and disable the plugin
wp plugin list --name=nota-fiscal-eletronica-woocommerce --fields=name,status,version
wp plugin deactivate nota-fiscal-eletronica-woocommerce
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

