1. Archivio CVE
  2. 2026
  3. CVE-2026-55237

CVE-2026-55237

8.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L 8.8 – Alta

Descrizione

AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. Versions prior to 0.6.62 have a DOM-based Cross-Site Scripting (XSS) vulnerability in AutoGPT's signup page. The application improperly trusts a URL parameter (`next`), which is passed to `router.push`. An attacker can craft a malicious link that, when opened by an authenticated user, performs a client-side redirect and executes arbitrary JavaScript in the context of their browser. This could lead to credential theft, internal network pivoting, and unauthorized actions performed on behalf of the victim. Version 0.6.62 patches the issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
significant-gravitas autogpt < 0.6.62 –
Tutte le 41 vulnerabilità di Significant-gravitas Autogpt

Tipo di vulnerabilità

CWE-87 Improper Neutralization of Alternate XSS Syntax

The product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Leggere i dati dell’applicazione, Eseguire codice o comandi non autorizzati

Come si previene

Sviluppo Resolve all input to absolute or canonical representations before processing.
Sviluppo Carefully check each input parameter against a rigorous positive specification (allowlist) defining the specific characters and format allowed. All input should be neutralized, not just parameters that the user is supposed to specify, but all data in the request, including tag attributes, hidden fields, cookies, headers, the URL itself, and so forth. A common mistake that leads to continuing XSS vulnerabilities is to validate only fields that are expected to be redisplayed by the site. We often encounter data from the request that is reflected by the application server or the application that the development team did not anticipate. Also, a field that is not currently reflected may be used by a future developer. Therefore, validating ALL parts of the HTTP request is recommended.
Sviluppo · Codifica dell’output Specifica una codifica dei caratteri (per esempio UTF-8) che il componente che legge l’output sappia gestire. Se la codifica non è indicata, quel componente può sceglierne un’altra, per impostazione predefinita o deducendola in modo errato; quando le codifiche non coincidono, alcune sequenze di caratteri possono diventare «speciali» pur non essendolo nell’originale, e un attaccante può sfruttare la differenza per attacchi di injection o per aggirare le protezioni. Il problema è frequente nelle pagine web: se la codifica non è indicata nell’intestazione HTTP, i browser tendono a indovinarla, aprendo la strada ad attacchi XSS sottili.
Sviluppo Con Struts, scrivi tutti i dati provenienti dai form bean con l’attributo filter del bean impostato a true.
Sviluppo · Riduzione della superficie di attacco Per limitare gli attacchi XSS contro il cookie di sessione, impostalo come HttpOnly: nei browser che lo supportano impedisce agli script malevoli di leggerlo tramite document.cookie. Non è una soluzione completa, perché non tutti i browser lo supportano e perché XmlHttpRequest e altre tecnologie del browser permettono comunque di leggere le intestazioni HTTP, compresa quella Set-Cookie in cui è impostato HttpOnly.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 21 CVE di tipo CWE-87, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org