{"vuln_id":"CVE-2026-77850","aliases":["GHSA-m23x-576h-73w8"],"description":"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.","published_at":"2026-08-31T03:16:42.307000Z","modified_at":"2026-11-19T09:17:59.007000Z","first_seen_at":"2026-11-21T19:15:46.604070Z","severity":"high","severity_source":"nvd","cvss_score":8.4,"cvss_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/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","cwe":["CWE-79"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00365,"epss_percentile":0.31023,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-77850"},"matched_alias":null,"items":[{"id":3446,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-77850: Stored Cross-site Scripting vulnerability in ash-project ash_admin executes attacker-supplied record content as script in an administrator's browser. The relat…","summary":"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\ntags 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\nruns 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.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-77850.html\nhttps://github.com/ash-project/ash_admin/commit/07289191ccdac27dd70ab7c6413ed057bc7fdade\nhttps://github.com/ash-project/ash_admin/commit/eb940f4d7d857ca49368ae847f586d01c6f5ad35\nhttps://github.com/ash-project/ash_admin/security/advisories/GHSA-m23x-576h-73w8\nhttps://osv.dev/vulnerability/EEF-CVE-2026-77850\nhttps://github.com/ash-project/ash_admin/security/advisories/GHSA-m23x-576h-73w8","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77850","published_at":"2026-08-31T03:16:42.307000Z","updated_at":"2026-11-19T09:17:59.007000Z","fetched_at":"2026-11-21T19:15:31.479028Z","severity":"high","cvss_score":8.4,"epss":0.00365,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-77850","vuln_ids":["CVE-2026-77850","GHSA-M23X-576H-73W8"],"tags":["CWE-79"],"cluster_id":3633,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3446","html":"https://vulnwatch.ve1ve2.com/item/3446"}}]}