Katalog CVE

CVE-2026-77850

WysokieCVSS 8.4
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Podatność Stored Cross-site Scripting w ash_admin wykonuje treść rekordów dostarczoną przez atakującego jako skrypt w przeglądarce administratora. Komponenty RelationshipField i ManagedRelationshipSelectField renderują etykiety bez odpowiedniego escapowania.

Ocena ryzyka

Atakujący może przejąć sesję administratora i uzyskać pełne uprawnienia w panelu administracyjnym, co może prowadzić do kradzieży danych lub modyfikacji systemu.

Rekomendacja

Zaleca się aktualizację ash_admin do wersji 1.3.1 lub nowszej, która zawiera poprawkę escapującą etykiety przed wstawieniem znaczników.

Inne podatności w ash_admin

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS