CVE-2026-66353
MEDIUM 5.3CVSS 4.0Doggo vulnerable to cross-site scripting via unescaped date field values
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.
- Published
- 27 Aug 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- EEF-CVE-2026-66353GHSA-w9rp-cf93-86pj
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-66353JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | MEDIUM 5.3 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | doggocpe:2.3:a:woylie:doggo:*:*:*:*:*:*:*:* |
>= 0.1.0, < 0.14.8 | 0.14.8 |
| CVE List | https://github.com | woylie/doggocpe:2.3:a:woylie:doggo:*:*:*:*:*:*:*:* |
>= ae65fed72982ec97f95af931686c627b19c2b58d, < 0161c976a114a4a4faee22d599b3fd5f147fc443 | 0161c976a114a4a4faee22d599b3fd5f147fc443 |
| OSV | Hex | doggo | >= 0.1.0, < 0.14.8 | 0.14.8 |
References
- https://cna.erlef.org/cves/CVE-2026-66353.html · related, WEB
- https://github.com/woylie/doggo/commit/0161c976a114a4a4faee22d599b3fd5f147fc443 · patch, FIX
- https://github.com/woylie/doggo/commit/ae65fed72982ec97f95af931686c627b19c2b58d · related, WEB
- https://github.com/woylie/doggo/security/advisories/GHSA-w9rp-cf93-86pj · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-66353 · related
- https://hex.pm/packages/doggo · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 Aug 2026)
- 25 Nov 2026 20:11 UTC · CVE List: first stored (published 27 Aug 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 27 Aug 2026)