CVE-2026-77850

Source
https://cve.org/CVERecord?id=CVE-2026-77850
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77850.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-77850
Aliases
Published
2026-08-31T02:23:54Z
Modified
2026-09-03T03:30:26Z
Severity
  • 8.4 (High) CVSS_V4 - 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 Calculator
Summary
Stored XSS in AshAdmin relationship typeahead via unescaped label_field content
Details

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

Database specific
{
    "cna_assigner": "EEF",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77850.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "eb940f4d7d857ca49368ae847f586d01c6f5ad35"
                },
                {
                    "fixed": "07289191ccdac27dd70ab7c6413ed057bc7fdade"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/ash-project/ash_admin

Affected ranges

Type
GIT
Repo
https://github.com/ash-project/ash_admin
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0.13.0"
        },
        {
            "fixed": "1.3.1"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.13.0
v0.13.10
v0.13.11
v0.13.12
v0.13.13
v0.13.14
v0.13.15
v0.13.16
v0.13.17
v0.13.18
v0.13.19
v0.13.2
v0.13.20
v0.13.21
v0.13.22
v0.13.23
v0.13.24
v0.13.25
v0.13.26
v0.13.3
v0.13.4
v0.13.5
v0.13.6
v0.13.7
v0.13.8
v0.13.9
v0.14.0
v1.*
v1.1.0
v1.2.0
v1.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77850.json"