# CVE-2026-66353: Doggo vulnerable to cross-site scripting via unescaped date field values

- Severity: Medium 5.3 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-08-27T16:44:59.553Z
- Modified: 2026-11-25T06:31:00.246Z
- Also known as: EEF-CVE-2026-66353, GHSA-w9rp-cf93-86pj
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- doggo: from 0.1.0 before 0.14.8
- woylie/doggo: from ae65fed72982ec97f95af931686c627b19c2b58d before 0161c976a114a4a4faee22d599b3fd5f147fc443
- doggo (Hex): from 0.1.0 before 0.14.8
- https://github.com/woylie/doggo: from ae65fed72982ec97f95af931686c627b19c2b58d before 0161c976a114a4a4faee22d599b3fd5f147fc443

## Every score

- EEF: CVSS:4.0 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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/woylie/doggo/security/advisories/GHSA-w9rp-cf93-86pj> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-66353.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-66353> (related)
- <https://github.com/woylie/doggo/commit/ae65fed72982ec97f95af931686c627b19c2b58d> (related, web)
- <https://github.com/woylie/doggo/commit/0161c976a114a4a4faee22d599b3fd5f147fc443> (fix, patch)
- <https://hex.pm/packages/doggo> (package)

## Sources

- CVE List: [CVE-2026-66353](https://www.cve.org/CVERecord?id=CVE-2026-66353), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-66353](https://osv.dev/vulnerability/EEF-CVE-2026-66353), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-66353](https://nvd.nist.gov/vuln/detail/CVE-2026-66353), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-66353 · Whole record: https://cve.day/CVE-2026-66353.json · Rebuilt by cve.day 2026-11-25T22:59:35.540Z
