PT-2026-159696

CVE-2026-131589

·

Published

2026-11-26

·

Updated

2026-11-26

Description by

CVSS 3.1
7.2
High
MetricsAV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions AI Engine – MCP Server & AI Chatbot for WordPress versions prior to 3.9.5
Description Authenticated attackers with Editor-level access and above can perform a limited arbitrary file upload. The issue occurs at the '/mwai/v1/helpers/create image' REST API endpoint via the url parameter. The add image from url() function fails to validate MIME types or extensions when the filename value is omitted, allowing the sanitize file name() function to derive the extension directly from the URL basename. The downloaded response body is then written to the WordPress uploads directory using file put contents(). Since the routine accepts any HTTP response with a Content-Type header starting with 'image/', an attacker can upload HTML, SVG, or JavaScript files to the wp-content/uploads/YYYY/MM/ directory, leading to stored cross-site scripting (XSS) when an administrator opens the file URL.
Recommendations Update to version 3.9.5 or later. As a temporary workaround, restrict access to the '/mwai/v1/helpers/create image' REST API endpoint for users with Editor-level access.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾