High severity · published Aug 31, 2026
CVE-2026-77850
Stored XSS in AshAdmin relationship typeahead via unescaped label_field content
8.4
CVSS
0.5%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
ash_admin · ash-project
0.13.0 before 1.3.1; eb940f4d7d857ca49368ae847f586d01c6f5ad35 before 07289191ccdac27dd70ab7c6413ed057bc7fdade · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-77850
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-77850
cna.erlef.org
https://cna.erlef.org/cves/CVE-2026-77850.html
github.com
https://github.com/ash-project/ash_admin/commit/07289191ccdac27dd70ab7c6413ed057bc7fdade
github.com
https://github.com/ash-project/ash_admin/security/advisories/GHSA-m23x-576h-73w8
osv.dev
https://osv.dev/vulnerability/EEF-CVE-2026-77850
More from ash_admin
8.3
CVE-2026-82673
Path traversal in AshAdmin file uploads via unsanitized client filename
8.3
CVE-2026-82722
AshAdmin LiveView events intern atoms from client input, exhausting the atom table (node DoS)
8.3
CVE-2026-75757
AshAdmin cookie reader matches names by substring, enabling actor/session shadowing from a sibling subdomain
2.3
CVE-2026-81853
AshAdmin composite primary key decoding accepts arbitrary fields, enabling a secret-attribute oracle
2.1
CVE-2026-81852
AshAdmin ships a hardcoded CSP nonce, allowing nonce-based CSP bypass
