CVE-2026-131822
Contact Form to Any API に報告された脆弱性
概要
The Contact Form to Any API plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'your-message (any CF7 form field)' parameter in all versions up to, and including, 3.0.7 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The malicious payload is stored via a single unauthenticated POST to Contact Form 7's public REST feedback endpoint, which uses permission_callback __return_true and requires no authentication or prior interaction to submit.
影響を受けるバージョン
- 0以上 〜 3.0.7以下
対処方法
Contact Form to Any API を 3.0.8 以降に更新してください。これで本脆弱性は解消します。
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://plugins.trac.wordpress.org/browser/contact-form-to-any-api/tags/3.0.7/admin/class-cf7-to-any-api-admin.php#L640
- https://plugins.trac.wordpress.org/browser/contact-form-to-any-api/tags/3.0.7/admin/class-cf7-to-any-api-admin.php#L759
- https://plugins.trac.wordpress.org/browser/contact-form-to-any-api/tags/3.0.7/admin/partials/cf7-to-any-api-admin-entries.php#L115
- https://plugins.trac.wordpress.org/browser/contact-form-to-any-api/tags/3.0.7/includes/class-cf7-to-any-api.php#L181
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3811674%40contact-form-to-any-api&new=3811674%40contact-form-to-any-api
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3c0753da-2807-46d1-b002-d557e7f3bf13?source=cve