Skip to main content

doggo EUVDEUVD-2026-67237

| CVE-2026-66353 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-27 EEF
5.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Recon
    Craft ≤10-byte attribute-breaking date param
  2. Delivery
    Deliver crafted form URL to victim
  3. Exploit
    Victim submits form with injected value
  4. Install
    Server-side validation fails, triggers re-render
  5. C2
    Unescaped value emitted into input value attribute
  6. Execute
    Attribute context broken, event handler attached
  7. Impact
    Attacker 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 <.field type="date"> component - no other doggo field types are affected; (2) the date field value must be populated from user-controlled request parameters (e.g., echoed from params on form re-render); and (3) the application must perform form validation that fails and re-renders the submitted value, as only the re-render path exposes the unescaped value in the output. The ten-byte payload cap limits what injected content can accomplish - full inline script blocks are not feasible, but attribute-terminating and event-handler-attaching strings fit. Exploitation is further constrained by the UI:P requirement: the victim must actively submit a form or visit a crafted URL, ruling out passive/drive-by exploitation. Authentication is not required (PR:N confirmed by CVSS 4.0 vector).

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 <.field type="date"> component, embedding a crafted date parameter such as " onload=x (10 bytes) in the query string or POST body. The victim follows the link, submits the form, validation fails, and the server re-renders the form - emitting the unescaped value directly into the HTML value attribute, injecting an event handler into the input element. No public proof-of-concept code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

doggo ae65fed72982ec97f95af931686c627b19c2b58d <0161c976a114a4a4faee22d599b3fd5f147fc443
doggo 0.1.0 <0.14.8

Affected Packages

euvd doggo fix: 0.14.8

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

Vendor (EEF) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

Network-delivered reflected XSS requires user interaction and changes scope to victim browser, with limited confidentiality and integrity impact; no authentication needed.

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

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

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

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

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Rare
niche Elixir Phoenix UI component library, limited production footprint
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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