{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.1.0"
              },
              {
                "fixed": "0.14.8"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0a93466e3ad2f4c3b53595b2a6c7c4c9c45c4039"
            },
            {
              "fixed": "425e76539a8e40ade38091e7fb22eb2f43abb0dc"
            },
            {
              "fixed": "0161c976a114a4a4faee22d599b3fd5f147fc443"
            }
          ],
          "repo": "https://github.com/woylie/doggo",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w9rp-cf93-86pj"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66353.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "ae65fed72982ec97f95af931686c627b19c2b58d"
          },
          {
            "fixed": "0161c976a114a4a4faee22d599b3fd5f147fc443"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in woylie doggo allows Reflected XSS.\n\nDoggo.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 \u003cinput\u003e rendered by the field component unchanged. Any application rendering \u003c.field type=\"date\"\u003e 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.\n\nThis issue affects doggo: from 0.1.0 before 0.14.8.",
  "id": "CVE-2026-66353",
  "modified": "2026-08-30T03:30:37.612772524Z",
  "published": "2026-08-27T16:44:59.553Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-66353.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-66353"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66353.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/woylie/doggo/security/advisories/GHSA-w9rp-cf93-86pj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-66353"
    },
    {
      "type": "FIX",
      "url": "https://github.com/woylie/doggo/commit/0161c976a114a4a4faee22d599b3fd5f147fc443"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/woylie/doggo"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Doggo vulnerable to cross-site scripting via unescaped date field values"
}