CVE-2026-66353
published medium CVSS 4.0 · 5.3Doggo vulnerable to cross-site scripting via unescaped date field values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| woylie | — | doggo0.1.0 to < 0.14.8 · Other versions: unaffected | Affected | Not stated | EEF |
| woylie | — | woylie/doggodoggo · ae65fed72982ec97f95af931686c627b19c2b58d to < 0161c976a114a4a4faee22d599b3fd5f147fc443 · Other versions: unaffected | Affected | Not stated | EEF |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| woylie | doggo | 0.1.0 to < 0.14.8 (affected · semver)Default: unaffected | EEF · cna |
| woylie | doggo | ae65fed72982ec97f95af931686c627b19c2b58d to < 0161c976a114a4a4faee22d599b3fd5f147fc443 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
References
5- EEF CNA record for CVE-2026-66353 https://cna.erlef.org/cves/CVE-2026-66353.html
- Fix commit 0161c97 in woylie/doggo https://github.com/woylie/doggo/commit/0161c976a114a4a4faee22d599b3fd5f147fc443
- Introducing commit ae65fed in woylie/doggo https://github.com/woylie/doggo/commit/ae65fed72982ec97f95af931686c627b19c2b58d
- https://github.com/woylie/doggo/security/advisories/GHSA-w9rp-cf93-86pj
- OSV record EEF-CVE-2026-66353 https://osv.dev/vulnerability/EEF-CVE-2026-66353
Provider assertions
2EEF · cna
Doggo vulnerable to cross-site scripting via unescaped date field values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 819ccb54dbd29800be727888751dd915b8dc159f641b579ac911faaf9080ce23
- Ingested
- 19 Nov 2026, 08:49:09 UTC
- Source record
- Official CVE record