# CVE-2026-77850: Stored XSS in AshAdmin relationship typeahead via unescaped label_field content

- Severity: High 8.4 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-31T02:23:54.129Z
- Modified: 2026-11-25T06:31:02.280Z
- Also known as: EEF-CVE-2026-77850, GHSA-m23x-576h-73w8
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- ash_admin: from 0.13.0 before 1.3.1
- ash-project/ash_admin: from eb940f4d7d857ca49368ae847f586d01c6f5ad35 before 07289191ccdac27dd70ab7c6413ed057bc7fdade
- ash_admin (Hex): from 0.13.0 before 1.3.1
- https://github.com/ash-project/ash_admin: from eb940f4d7d857ca49368ae847f586d01c6f5ad35 before 07289191ccdac27dd70ab7c6413ed057bc7fdade

## Every score

- EEF: CVSS:4.0 8.4 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ash-project/ash_admin/security/advisories/GHSA-m23x-576h-73w8> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-77850.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-77850> (related)
- <https://github.com/ash-project/ash_admin/commit/eb940f4d7d857ca49368ae847f586d01c6f5ad35> (related, web)
- <https://github.com/ash-project/ash_admin/commit/07289191ccdac27dd70ab7c6413ed057bc7fdade> (fix, patch)
- <https://hex.pm/packages/ash_admin> (package)

## Sources

- CVE List: [CVE-2026-77850](https://www.cve.org/CVERecord?id=CVE-2026-77850), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-77850](https://osv.dev/vulnerability/EEF-CVE-2026-77850), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-77850](https://nvd.nist.gov/vuln/detail/CVE-2026-77850), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-77850 · Whole record: https://cve.day/CVE-2026-77850.json · Rebuilt by cve.day 2026-11-25T22:59:35.791Z
