Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft ≤10-byte attribute-breaking date param
-
DeliveryDeliver crafted form URL to victim
-
ExploitVictim submits form with injected value
-
InstallServer-side validation fails, triggers re-render
-
C2Unescaped value emitted into input value attribute
-
ExecuteAttribute context broken, event handler attached
-
ImpactAttacker JavaScript executes in victim browser
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 | Exploitation requires three concurrent conditions: (1) the target Phoenix application must render the |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 5.3) accurately captures the key risk dimensions: network-reachable, low complexity, no privileges required, but user interaction is mandatory. Real-world exploitation requires an attacker to socially engineer a victim into submitting a crafted form value and having server-side validation reject it - a two-step social engineering dependency that meaningfully reduces practical exploitability versus stored or DOM-based XSS. The ten-byte payload cap further limits what an attacker can achieve; stealing session cookies or making cross-site requests typically requires substantially more script than ten bytes, so the most realistic outcome is attribute injection enabling short event-handler execution. No EPSS data was provided in the input and cannot be independently stated. The vulnerability is absent from CISA KEV and no POC code has been identified, reinforcing that exploitation risk is currently theoretical rather than active. The flaw has existed since version 0.1.0 per the vendor CHANGELOG, meaning the full version history is affected until 0.14.8 - a wide historical window, though doggo's niche deployment footprint limits aggregate exposure. |
| Exploit ScenarioDerived | An attacker constructs a URL pointing to a Phoenix application form that uses the doggo |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Reflected XSS in doggo's Phoenix date field component (versions 0.1.0 through 0.14.7) allows network-accessible, unauthenticated attackers to inject HTML into the rendered page when a form validation failure re-renders a user-supplied date value. The root cause is Doggo.normalize_value/2 wrapping the raw user input in Phoenix.HTML's {:safe, ...} marker - bypassing the framework's built-in escaping - before emitting it verbatim into the value attribute of the generated <input> element. Payloads are constrained to ten bytes by the original truncation logic, which prevents full inline script injection but still permits attribute-breaking strings (e.g., " onload=x) sufficient to attach short event handlers. No public exploit has been identified and the vulnerability is not listed in CISA KEV; a vendor patch is available in doggo 0.14.8.
RemediationAI
Upgrade doggo to version 0.14.8 or later; the fix is delivered in commit 0161c976a114a4a4faee22d599b3fd5f147fc443 (https://github.com/woylie/doggo/commit/0161c976a114a4a4faee22d599b3fd5f147fc443) and documented in advisory GHSA-w9rp-cf93-86pj. As a compensating control before upgrading, applications can validate or sanitize date parameters server-side - strictly accepting only ISO 8601 strings (YYYY-MM-DD) - before passing them to the <.field type="date"> component, ensuring no untrusted string reaches normalize_value/2. Alternatively, restricting <.field type="date"> to server-controlled values (not echoed from user params) eliminates the attack surface entirely, though this may require form redesign. No workaround is free of trade-offs: server-side validation adds application-layer coupling, and restricting component inputs may break form re-render UX.
Affected VersionsENISA
Affected Packages
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
doggo is an Elixir component library for Phoenix LiveView/HEEx applications. The vulnerability resides in Doggo.normalize_value/2 in lib/doggo.ex, which handled type="date" field values by slicing the first ten bytes of the stringified input and wrapping the result in {:safe, ...}. In Phoenix.HTML, the {:safe, ...} tuple is a trust marker signalling the template engine to emit the binary verbatim without HTML-entity encoding - it is intended for pre-escaped content, not raw user input. By marking unsanitized user data as safe, the function suppressed the escaping Phoenix would otherwise have applied, constituting CWE-79 (Improper Neutralization of Input During Web Page Generation). The ten-byte truncation incidentally capped injections but did not neutralize them: strings such as "><script> (9 bytes) or " onload=x (10 bytes) fit within the cap and are sufficient to break out of the HTML attribute context. Affected CPE: cpe:2.3:a:woylie:doggo:*:*:*:*:*:*:*:* covering all releases from 0.1.0. The fix in 0.14.8 replaces truncation with strict ISO 8601 parse-and-validate via Date.from_iso8601/1, returning an empty string for any non-conforming input, ensuring only structurally valid dates reach the template.
Know when Doggo 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network-delivered reflected XSS requires user interaction and changes scope to victim browser, with limited confidentiality and integrity impact; no authentication needed.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in woylie doggo allows Reflected XSS.
Doggo.normalize_value/2 in lib/doggo.ex returned date field values wrapped in {:safe, ...}, the Phoenix.HTML marker meaning "already escaped, emit verbatim", without escaping them, so the value reached the value attribute of the <input> rendered by the field component unchanged. Any application rendering <.field type="date"> over user-controlled params is affected through the ordinary Phoenix form round-trip, where a failed validation re-renders the submitted value. The pattern kept exactly the first ten bytes and discarded shorter values, capping a payload at ten bytes: enough to terminate the attribute and open an element or attach a short event handler, not enough to place attacker-chosen script inline. Only type="date" is affected.
This issue affects doggo: from 0.1.0 before 0.14.8.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-67237
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB