Descrizione
The AI Puffer - MCP Server for Claude & ChatGPT, with AI Chatbot plugin for WordPress is vulnerable to Stored Cross-Site Scripting via AI-generated comment replies in all versions up to, and including, 2.5.28 due to insufficient sanitization of the AI model's output in the insert_comment_reply_logic() function, which saves replies with wp_insert_comment() and bypasses the kses filtering WordPress normally applies to comment content. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, by submitting a comment that leads the AI model to reproduce an HTML payload in its automated reply. This is only exploitable when an administrator has configured a Comment Auto-Reply automation task with 'Action on reply' set to 'Approve' (the default is 'Hold for moderation'), and the attacker's comment has been approved.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.2, EPSS 0.3% (percentile 25).
Versioni da aggiornare
- senols AI Puffer – MCP Server for Claude & ChatGPT, with AI Chatbot: vulnerabili le versioni fino alla
2.5.28inclusa → aggiornare a una release successiva alla2.5.28.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| senols | AI Puffer – MCP Server for Claude & ChatGPT, with AI Chatbot | ≤ 2.5.28 | — |
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/gpt3-ai-content-generator/tags/2.5.28/classes/automations/comment-reply-worker.php#L160
- Riferimentohttps://plugins.trac.wordpress.org/browser/gpt3-ai-content-generator/tags/2.5.28/classes/automations/comment-reply-worker.php#L27
- Riferimentohttps://plugins.trac.wordpress.org/browser/gpt3-ai-content-generator/tags/2.5.28/classes/automations/comment-reply-worker.php#L62
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3807151/gpt3-ai-content-generator
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/d164f090-83ee-499a-85e3-d642713467b9?source=cve