CVE-2026-77850
HIGH 8.4CVSS 4.0Stored XSS in AshAdmin relationship typeahead via unescaped label_field content
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.
- Published
- 31 Aug 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- EEF-CVE-2026-77850GHSA-m23x-576h-73w8
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-77850JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 8.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | HIGH 8.4 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | ash_admincpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:* |
>= 0.13.0, < 1.3.1 | 1.3.1 |
| CVE List | https://github.com | ash-project/ash_admincpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:* |
>= eb940f4d7d857ca49368ae847f586d01c6f5ad35, < 07289191ccdac27dd70ab7c6413ed057bc7fdade | 07289191ccdac27dd70ab7c6413ed057bc7fdade |
| OSV | Hex | ash_admin | >= 0.13.0, < 1.3.1 | 1.3.1 |
References
- https://cna.erlef.org/cves/CVE-2026-77850.html · related, WEB
- https://github.com/ash-project/ash_admin/commit/07289191ccdac27dd70ab7c6413ed057bc7fdade · patch, FIX
- https://github.com/ash-project/ash_admin/commit/eb940f4d7d857ca49368ae847f586d01c6f5ad35 · related, WEB
- https://github.com/ash-project/ash_admin/security/advisories/GHSA-m23x-576h-73w8 · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-77850 · related
- https://hex.pm/packages/ash_admin · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 31 Aug 2026)
- 25 Nov 2026 20:11 UTC · CVE List: first stored (published 31 Aug 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 31 Aug 2026)