{"id":"CVE-2026-77850","published":"2026-08-31T02:23:54Z","modified":"2026-11-19T08:39:06Z","title":"Stored XSS in AshAdmin relationship typeahead via unescaped label_field content","vendor":"ash-project","product":"ash_admin","tier":"tail","description":{"text":"Stored Cross-site Scripting vulnerability in ash-project ash_admin executes attacker-supplied record content as script in an administrator's browser.\n\nThe 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.\n\nThis issue affects ash_admin: from 0.13.0 before 1.3.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00483,"percentile":0.34294,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ash-project/ash_admin/security/advisories/GHSA-m23x-576h-73w8","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-77850.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-77850","tags":["related"]},{"url":"https://github.com/ash-project/ash_admin/commit/eb940f4d7d857ca49368ae847f586d01c6f5ad35","tags":["related"]},{"url":"https://github.com/ash-project/ash_admin/commit/07289191ccdac27dd70ab7c6413ed057bc7fdade","tags":["patch"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":6.86},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"ash-project","affectedVersions":[{"vendor":"ash-project","product":"ash_admin","versions":[">= 0.13.0, < 1.3.1"]},{"vendor":"ash-project","product":"ash_admin","versions":[">= eb940f4d7d857ca49368ae847f586d01c6f5ad35, < 07289191ccdac27dd70ab7c6413ed057bc7fdade"]}],"capec":[{"id":"CAPEC-592","name":"Stored XSS"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-31T16:05:08.537950Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-68326","exploited":false,"provenance":"source"}}