EEF-CVE-2026-66353

Source
https://cna.erlef.org/osv/EEF-CVE-2026-66353.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-66353.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-66353
Aliases
  • CVE-2026-66353
  • GHSA-w9rp-cf93-86pj
Published
2026-08-27T16:44:59.553Z
Modified
2026-08-27T16:55:36.768698063Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 Calculator
Summary
Doggo vulnerable to cross-site scripting via unescaped date field values
Details

Summary

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.

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "capec_ids": [
        "CAPEC-591"
    ],
    "cpe_ids": [
        "cpe:2.3:a:woylie:doggo:*:*:*:*:*:*:*:*"
    ]
}
References
Credits
    • Mathias Polligkeit - REMEDIATION_DEVELOPER
    • Jonatan Männchen / EEF - COORDINATOR

Affected packages

Hex / doggo

Package

Name
doggo
Purl
pkg:hex/doggo

Affected ranges

Type
SEMVER
Events
Introduced
0.1.0
Fixed
0.14.8

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.2.0
0.2.1
0.3.0
0.3.1
0.4.0
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
0.9.1
0.10.0
0.10.1
0.10.2
0.10.3
0.10.4
0.10.5
0.10.6
0.10.7
0.10.8
0.11.0
0.12.0
0.13.0
0.13.1
0.13.2
0.13.3
0.14.0
0.14.1
0.14.2
0.14.3
0.14.4
0.14.5
0.14.6
0.14.7

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-66353.json"

Git / github.com/woylie/doggo

Affected ranges

Type
GIT
Repo
https://github.com/woylie/doggo
Events

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.10.0
0.10.1
0.10.2
0.10.3
0.10.4
0.10.5
0.10.6
0.10.7
0.10.8
0.11.0
0.12.0
0.13.0
0.13.1
0.13.2
0.13.3
0.14.0
0.14.1
0.14.2
0.14.3
0.14.4
0.14.5
0.14.6
0.14.7
0.2.0
0.2.1
0.3.0
0.3.1
0.4.0
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
0.9.1

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-66353.json"