CVE-2026-66353: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in woylie doggo
Description
CVE-2026-66353 is a reflected cross-site scripting (XSS) vulnerability in the woylie doggo library affecting the date input field rendering. The vulnerability arises because Doggo.normalize_value/2 returns date values marked as safe without proper escaping, allowing user-controlled input to reach the value attribute of an <input type="date"> element unescaped. This can lead to injection of short payloads that terminate the attribute and inject elements or event handlers. Only the date input type is affected. Versions from 0.1.0 up to but not including 0.14.8 are vulnerable.
CVSS v4.0
Score 5.3medium
Affected software
woylie
doggo
woylie
doggo
cpe:2.3:a:woylie:doggo:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in woylie doggo occurs in the Doggo.normalize_value/2 function, which returns date field values wrapped in the Phoenix.HTML {:safe, ...} marker indicating the content is already escaped. However, the values are not actually escaped, allowing user input to be rendered verbatim in the value attribute of <input type="date"> fields. This enables reflected XSS through the ordinary Phoenix form round-trip mechanism when validation fails and the submitted value is re-rendered. The payload is limited to ten bytes, enough to close the attribute and inject a short event handler or element, but not enough for inline script injection. Only the date input type is affected. The issue affects doggo versions from 0.1.0 before 0.14.8.
Potential Impact
An attacker can exploit this vulnerability to perform reflected cross-site scripting attacks by injecting malicious HTML or event handlers into date input fields rendered by the doggo library. This could lead to execution of attacker-controlled code in the context of the victim's browser when they interact with affected forms. The impact is limited by the payload size restriction and the fact that only type="date" inputs are affected. The CVSS 4.0 base score is 5.3 (medium severity), reflecting network attack vector, low complexity, no privileges required, user interaction required, and low impact on confidentiality and integrity.
Mitigation Recommendations
No official fix or patch is currently documented for this vulnerability. Users of doggo should upgrade to version 0.14.8 or later once available, as versions before 0.14.8 are affected. Until a fix is released, avoid rendering <.field type="date"> components over user-controlled parameters that might fail validation and be re-rendered. Review and sanitize user input before rendering in date fields to prevent injection. Monitor vendor advisories for updates and official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-25T10:30:01.736Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a909cfcacd9273b49b2d30e
Added to database: 08/27/2026, 20:24:28 UTC
Last enriched: 09/10/2026, 03:54:14 UTC
Last updated: 10/10/2026, 06:48:18 UTC
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.