# CVE-2026-77850: Stored XSS in AshAdmin relationship typeahead via unescaped label\_field content

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.48% (percentile 34, 2026-11-26)
- **CWE:** CWE-79
- **Published:** 2026-08-31T02:23:54.129Z
- **Modified:** 2026-11-19T09:17:59.007Z

## Who should check

- Anyone running ash-project ash\_admin \>= 0.13.0, \< 1.3.1
- Anyone running ash-project ash\_admin \>= eb940f4d7d857ca49368ae847f586d01c6f5ad35, \< 07289191ccdac27dd70ab7c6413ed057bc7fdade

## 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.

## Affected and fixed versions

- ash-project ash\_admin: \>= 0.13.0, \< 1.3.1 (cvelist)
- ash-project ash\_admin: \>= eb940f4d7d857ca49368ae847f586d01c6f5ad35, \< 07289191ccdac27dd70ab7c6413ed057bc7fdade (cvelist)

## Mitigation

- Upgrade ash\_admin to 1.3.1 or later.
- Upgrade ash\_admin to 07289191ccdac27dd70ab7c6413ed057bc7fdade or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-77850. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-77850.md
Affected: ash-project ash_admin >= 0.13.0, < 1.3.1; ash-project ash_admin >= eb940f4d7d857ca49368ae847f586d01c6f5ad35, < 07289191ccdac27dd70ab7c6413ed057bc7fdade
Fixed in: ash-project ash_admin 1.3.1, ash-project ash_admin 07289191ccdac27dd70ab7c6413ed057bc7fdade

Steps:
1. Search this machine and project for ash-project ash_admin: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-77850 being exploited?

There is no confirmed exploitation: CVE-2026-77850 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-77850?

High: CVSS 8.4 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-77850?

ash-project ash\_admin \>= 0.13.0, \< 1.3.1; ash-project ash\_admin \>= eb940f4d7d857ca49368ae847f586d01c6f5ad35, \< 07289191ccdac27dd70ab7c6413ed057bc7fdade.

### Is there a fix for CVE-2026-77850?

Yes. Fixed in ash-project ash\_admin 1.3.1, ash-project ash\_admin 07289191ccdac27dd70ab7c6413ed057bc7fdade. Upgrade ash\_admin to 1.3.1 or later. Upgrade ash\_admin to 07289191ccdac27dd70ab7c6413ed057bc7fdade or later.

### How do I check if I'm affected by CVE-2026-77850?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ash-project/ash_admin/security/advisories/GHSA-m23x-576h-73w8>
- patch: <https://github.com/ash-project/ash_admin/commit/eb940f4d7d857ca49368ae847f586d01c6f5ad35>
- patch: <https://github.com/ash-project/ash_admin/commit/07289191ccdac27dd70ab7c6413ed057bc7fdade>
- other: <https://cna.erlef.org/cves/CVE-2026-77850.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-77850>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-77850>

HTML: <https://flawdb.com/CVE-2026-77850> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-77850>
