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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-26)
- **CWE:** CWE-79
- **Published:** 2026-08-27T16:44:59.553Z
- **Modified:** 2026-11-19T09:17:49.700Z

## Who should check

- Anyone running woylie doggo \>= 0.1.0, \< 0.14.8
- Anyone running woylie doggo \>= ae65fed72982ec97f95af931686c627b19c2b58d, \< 0161c976a114a4a4faee22d599b3fd5f147fc443

## 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.

## Affected and fixed versions

- woylie doggo: \>= 0.1.0, \< 0.14.8 (cvelist)
- woylie doggo: \>= ae65fed72982ec97f95af931686c627b19c2b58d, \< 0161c976a114a4a4faee22d599b3fd5f147fc443 (cvelist)

## Mitigation

- Upgrade doggo to 0.14.8 or later.
- Upgrade doggo to 0161c976a114a4a4faee22d599b3fd5f147fc443 or later.
- Vendor workaround: Either of these closes the hole without upgrading.
- 
- Use type="text" instead of type="date" for fields whose value can come from user-submitted params. The text branch delegates to Phoenix.HTML.Form.normalize\_value/2, which returns a bare string that HEEx then escapes.
- 
- Alternatively, pass an explicit value already validated as an ISO 8601 date rather than letting the component read it from the form field, so the value reaching the unescaped branch contains no metacharacters.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-66353. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-66353.md
Affected: woylie doggo >= 0.1.0, < 0.14.8; woylie doggo >= ae65fed72982ec97f95af931686c627b19c2b58d, < 0161c976a114a4a4faee22d599b3fd5f147fc443
Fixed in: woylie doggo 0.14.8, woylie doggo 0161c976a114a4a4faee22d599b3fd5f147fc443

Steps:
1. Search this machine and project for woylie doggo: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-66353 being exploited?

There is no confirmed exploitation: CVE-2026-66353 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-66353?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-66353?

woylie doggo \>= 0.1.0, \< 0.14.8; woylie doggo \>= ae65fed72982ec97f95af931686c627b19c2b58d, \< 0161c976a114a4a4faee22d599b3fd5f147fc443.

### Is there a fix for CVE-2026-66353?

Yes. Fixed in woylie doggo 0.14.8, woylie doggo 0161c976a114a4a4faee22d599b3fd5f147fc443. Upgrade doggo to 0.14.8 or later. Upgrade doggo to 0161c976a114a4a4faee22d599b3fd5f147fc443 or later. Vendor workaround: Either of these closes the hole without upgrading.  Use type="text" instead of type="date" for fields whose value can come from user-submitted params. The text branch delegates to Phoenix.HTML.Form.normalize\_value/2, which returns a bare string that HEEx then escapes.  Alternatively, pass an explicit value already validated as an ISO 8601 date rather than letting the component read it from the form field, so the value reaching the unescaped branch contains no metacharacters.

### How do I check if I'm affected by CVE-2026-66353?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/woylie/doggo/security/advisories/GHSA-w9rp-cf93-86pj>
- patch: <https://github.com/woylie/doggo/commit/ae65fed72982ec97f95af931686c627b19c2b58d>
- patch: <https://github.com/woylie/doggo/commit/0161c976a114a4a4faee22d599b3fd5f147fc443>
- other: <https://cna.erlef.org/cves/CVE-2026-66353.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-66353>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-66353>

HTML: <https://flawdb.com/CVE-2026-66353> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-66353>
