{"id":"CVE-2026-59728","published":"2026-07-27T19:54:23Z","modified":"2026-07-28T14:27:56Z","title":"@astrojs/rss: XML Injection via Unescaped RSS Feed Fields","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"Astro is a web framework for content-driven websites. In versions 1.0.0 through 4.0.18, the source.title and enclosure.type item fields in packages/astro-rss/src/index.ts are interpolated directly into XML template strings without XML-character escaping before being parsed by fast-xml-parser. Both fields are validated only as z.string(), placing no restriction on XML special characters. An attacker who controls these values can inject arbitrary XML into the generated RSS feed: a value containing \" can break out of an attribute (as with enclosure.type), and a value containing </source> can close an element early and inject additional nodes (as with source.title). This corrupts feed structure, injects false metadata (for example, a fake <link> pointing to a malicious URL), and can cause feed readers to misparse or display attacker-controlled content. In SSR mode (output: 'server'), the poisoned feed is served on every request to all subscribers. This issue has been fixed in version 4.0.19.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00374,"percentile":0.23292,"provenance":"source"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-8j5q-mfj2-5q9q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/17209","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/fbcfa039dfe3d700b239f595a6c55ee35e45bd06","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/releases/tag/@astrojs/rss@4.0.19","tags":["x_refsource_MISC"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":4.66},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":[">= 1.0.0, < 4.0.19"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-28T14:27:36.621244Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@astrojs/rss","vulnerableRanges":[">=1.0.0, <4.0.19"],"patched":["4.0.19"],"from":["GHSA-8j5q-mfj2-5q9q"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-49584","exploited":false,"provenance":"source"}}