# Sprout Invoices – Client Invoicing & Estimates <= 20.8.20 - Unauthenticated Missing Authorization to Invoice Checkout Payment Submission and Access Hash Disclosure

- **ID:** WPSEC-2026-4042
- **Plugin:** Sprout Invoices – Client Invoicing & Estimates (`sprout-invoices`), https://wordpress.org/plugins/sprout-invoices/
- **Affected versions:** from 20.8.18 before 20.8.21
- **Fixed in:** 20.8.21 (Update to 20.8.21 or later.)
- **Severity:** Medium 6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/sprout-invoices
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4042/

## Description

The Sprout Invoices plugin for WordPress is vulnerable to unauthorized access via the invoice checkout ('invoice_payment' and 'si_payment_action' parameters) in all versions from 20.8.18 up to, and including, 20.8.20, due to a missing authorization check in the SI_Checkouts controller. The checkout is built on parse_request, before the plugin's document access gate runs. It loads any invoice ID taken from the request and dispatches checkout actions without checking that the requester may view that invoice. The checkout links it builds also always include the invoice's long-lived access hash. This makes it possible for unauthenticated attackers to submit checkout actions, such as offline (check or purchase order) payment records, against other clients' invoices. The attacker needs only the logged-out checkout nonces, which any page showing an invoice they can view provides. The post-checkout redirect then reveals the target invoice's access hash, which grants full view of the invoice.

## References

- https://wpsec.com/vuln/WPSEC-2026-4042/
- https://plugins.svn.wordpress.org/sprout-invoices/tags/20.8.21/
- https://wordpress.org/plugins/sprout-invoices/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4042/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
