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

CVE-2026-33657

5.4 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N 5.4 – Media

Descrizione

EspoCRM is an open source customer relationship management application. Versions 9.3.3 and below have a stored HTML injection vulnerability that allows any authenticated user with standard (non-administrative) privileges to inject arbitrary HTML into system-generated email notifications by crafting malicious content in the post field of stream activity notes. The vulnerability exists because server-side Handlebars templates render the post field using unescaped triple-brace syntax, the Markdown processor preserves inline HTML by default, and the rendering pipeline explicitly skips sanitization for fields present in additionalData, creating a path where attacker-controlled HTML is accepted, stored, and rendered directly into emails without any escaping. Since the emails are sent using the system's configured SMTP identity (such as an administrative sender address), the injected content appears fully trusted to recipients, enabling phishing attacks, user tracking via embedded resources like image beacons, and UI manipulation within email content. The @mention feature further increases the impact by allowing targeted delivery of malicious emails to specific users. This issue has been fixed in version 9.3.4.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
espocrm espocrm < 9.3.4 –
Tutte le 68 vulnerabilità di Espocrm

Tipo di vulnerabilità

CWE-80 Cross-Site Scripting di base: tag HTML di script non neutralizzati

Il prodotto non neutralizza, o neutralizza in modo errato, caratteri speciali come <, > e & che possono essere interpretati come elementi di script dalla pagina web che li riceve.

Impatto sui sistemi

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

Come si previene

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 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 383 CVE di tipo CWE-80, con andamento e prevenzione

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