CVE-2026-77850

Vulnérabilité élevée dans ash_admin (ash-project)

CVSS 8.4 · Élevée
EPSS 0.5%
ash-project•ash_admin•Versions : <07289191ccdac27dd70ab7c6413ed057bc7fdade, 0.13.0, <1.3.1, eb940f4d7d857ca49368ae847f586d01c6f5ad35

Description

Stored Cross-site Scripting vulnerability in ash-project ash_admin executes attacker-supplied record content as script in an administrator's browser. The relationship typeahead components AshAdmin.Components.Resource.RelationshipField and AshAdmin.Components.Resource.ManagedRelationshipSelectField highlight the matched search term by wrapping it in <b> tags and rendering the whole string with Phoenix.HTML.raw/1. The highlighted value is the destination record's label_field, ordinary database content that is often written by lower-privileged users. Because raw/1 disables output escaping for the entire string, a stored label such as <img src=x onerror=...> runs as JavaScript in the admin's session as soon as a matching record appears in the dropdown, giving the attacker the admin's privileges over everything AshAdmin exposes. The fix HTML-escapes the label before inserting the highlight markup. This issue affects ash_admin: from 0.13.0 before 1.3.1.

Gravité et risque d'exploitation

CVE-2026-77850 obtient un score CVSS de 8.4/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.48 %, ce qui la place devant 40.3 % des CVE référencées.

Que faire ?

  • Vérifiez si ash_admin (versions <07289191ccdac27dd70ab7c6413ed057bc7fdade, 0.13.0, <1.3.1, eb940f4d7d857ca49368ae847f586d01c6f5ad35) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références