# MxChat <= 3.2.29 - Unauthenticated Uncontrolled Resource Consumption via Chat Document Upload

- **ID:** WPSEC-2026-4226
- **Plugin:** MxChat – AI Chatbot & Content Generation for WordPress (`mxchat-basic`), https://wordpress.org/plugins/mxchat-basic/
- **Affected versions:** from 1.5 before 3.2.30
- **Fixed in:** 3.2.30 (Update to 3.2.30 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
- **Weakness:** CWE-770
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-29)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/mxchat-basic
- **Fix released:** 2026-11-28
- **Published:** 2026-11-29
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4226/

## Description

The MxChat plugin for WordPress is vulnerable to uncontrolled resource consumption via the chat PDF and Word document upload feature (mxchat_upload_pdf and mxchat_upload_word AJAX actions) in all versions up to, and including, 3.2.29, due to no limit on how many documents a visitor can upload and successfully processed files being kept in the uploads directory indefinitely. Each accepted file is also split into pages that are sent to the site's embedding provider, and the chat message rate limits do not apply to uploads. This makes it possible for unauthenticated attackers to repeatedly upload documents through the chat widget, filling server disk space and running up the site's paid AI API usage. The upload buttons are enabled by default.

## References

- https://wpsec.com/vuln/WPSEC-2026-4226/
- https://plugins.svn.wordpress.org/mxchat-basic/tags/3.2.30/
- https://wordpress.org/plugins/mxchat-basic/

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

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.
