CVE-2026-77850
published high CVSS 4.0 · 8.4Stored XSS in AshAdmin relationship typeahead via unescaped label_field content
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ash-project | — | ash_admin0.13.0 to < 1.3.1 · Other versions: unaffected | Affected | Not stated | EEF |
| ash-project | — | ash-project/ash_adminash_admin · eb940f4d7d857ca49368ae847f586d01c6f5ad35 to < 07289191ccdac27dd70ab7c6413ed057bc7fdade · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ash-project | ash_admin | 0.13.0 to < 1.3.1 (affected · semver)Default: unaffected | EEF · cna |
| ash-project | ash_admin | eb940f4d7d857ca49368ae847f586d01c6f5ad35 to < 07289191ccdac27dd70ab7c6413ed057bc7fdade (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
References
5- EEF CNA record for CVE-2026-77850 https://cna.erlef.org/cves/CVE-2026-77850.html
- Fix commit 0728919 in ash-project/ash_admin https://github.com/ash-project/ash_admin/commit/07289191ccdac27dd70ab7c6413ed057bc7fdade
- Introducing commit eb940f4 in ash-project/ash_admin https://github.com/ash-project/ash_admin/commit/eb940f4d7d857ca49368ae847f586d01c6f5ad35
- https://github.com/ash-project/ash_admin/security/advisories/GHSA-m23x-576h-73w8
- OSV record EEF-CVE-2026-77850 https://osv.dev/vulnerability/EEF-CVE-2026-77850
Provider assertions
2EEF · cna
Stored XSS in AshAdmin relationship typeahead via unescaped label_field content
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b5cc09c6f17175b73fb34d8b7fefc57b3d20a402e00bd5737c42200c1ba5e4e9
- Ingested
- 19 Nov 2026, 08:43:53 UTC
- Source record
- Official CVE record