{"affected":[{"product":"astro","source":"CNA: GitHub_M","vendor":"withastro","versions":[{"status":"affected","version":"< 7.4.5"}]}],"cveId":"CVE-2026-126361","cwes":["CWE-79","CWE-184"],"description":"Astro is a web framework for content-driven websites. Prior to 7.4.5, Astro rendered a string used as a dynamic element name as raw HTML after applying an incomplete character filter. A / in the string could make an HTML parser treat the remainder as attributes, allowing untrusted element-name input to inject event-handler markup. The .astro dynamic-tag renderer, JSX renderer, and MDX renderer were affected, and exploitation required an application to use request-controlled or stored untrusted data as all or part of an element name. This issue is fixed in version 7.4.5.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":2.3,"severity":"low","source":"CNA: GitHub_M","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","version":"4.0"}],"modifiedAt":1794522395206,"publishedAt":1794522395206,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/withastro/astro/security/advisories/GHSA-mh32-jxcr-mh9f"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/pull/18520"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/releases/tag/astro@7.4.5"}],"remediation":[],"revision":"d46e5ac43f7b5ef4840a981dfe98399d2659857f974ddd211d70c7cbda90000f","sources":[{"modifiedAt":1794522395206,"name":"CNA: GitHub_M","retrievedAt":1794524927949,"url":"https://www.cve.org/CVERecord?id=CVE-2026-126361"}],"ssvc":null,"status":"published","title":"Astro: XSS via attribute injection in dynamic tag names","updatedAt":1794524927949}