Skip to content
High 7.2

AI Engine for WordPressに任意のファイルをアップロードされる脆弱性 管理者が保存型XSSを受けるおそれ

CVE-2026-131589 First seen on SecPulse

Summary

AI Engine(WordPress用プラグイン)3.9.4以前には、編集者以上の権限を持つ利用者が任意のHTMLやSVG、JavaScriptのファイルをアップロードできる脆弱性があります。管理者が添付ファイルのURLを開くと、保存型クロスサイトスクリプティングの被害を受けるおそれがあります。CVSSは7.2です。修正版の有無は公表されていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

AI Engine(WordPress用プラグイン)3.9.4以前には、編集者以上の権限を持つ利用者が任意のHTMLやSVG、JavaScriptのファイルをアップロードできる脆弱性があります。管理者が添付ファイルのURLを開くと、保存型クロスサイトスクリプティングの被害を受けるおそれがあります。CVSSは7.2です。修正版の有無は公表されていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
tigroumeowAI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini
≤ 3.9.4→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

The AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini plugin for WordPress is vulnerable to Limited Arbitrary File Upload in all versions up to, and including, 3.9.4 via the url parameter of the /mwai/v1/helpers/create_image REST API endpoint. The vulnerability exists because the add_image_from_url() function applies the get_allowed_mime_types() extension allow-list only on the custom-filename branch; when the request omits a filename value, the empty-filename branch derives the stored file's extension directly from the URL basename via sanitize_file_name() without any MIME or extension validation, then writes the downloaded response body verbatim to the WordPress uploads directory via file_put_contents(). This makes it possible for authenticated attackers with Editor-level access and above to place attacker-controlled HTML, SVG, or JavaScript files into wp-content/uploads/YYYY/MM/ under an attacker-chosen extension, enabling stored cross-site scripting against any administrator who opens the resulting attachment URL. The download routine accepts any HTTP response whose Content-Type header begins with image/, a value freely controlled by the attacker-owned origin server, meaning the written content need not be a valid image.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details