CVE-2026-66353
Improper Neutralization of Input During Web Page Generation …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- cna.erlef.org/cves/CVE-2026-66353.html
- github.com/woylie/doggo/commit/0161c976a114a4a4faee22d599b3fd5f147fc443
- github.com/woylie/doggo/security/advisories/GHSA-w9rp-cf93-86pj
- osv.dev/vulnerability/EEF-CVE-2026-66353
- github.com/woylie/doggo/commit/ae65fed72982ec97f95af931686c627b19c2b58d
- nvd.nist.gov/vuln/detail/CVE-2026-66353
- cve.org/CVERecord?id=CVE-2026-66353
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.