CVE-2026-59728

@astrojs/rss: XML Injection via Unescaped RSS Feed Fields

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.


We have discovered 1,808 live websites that are affected by CVE-2026-59728.

Run a Free Instant Scan




Affected Software

Product  Astro
Category Static Site Generator
Vulnerable Domains1,808 live websites (6.87% of Astro install base)
Vulnerable Versions
  • from 1 through 4.0.19
Vulnerable Versions Count159 versions ( 34% of all versions)


Common Weakness Enumeration

CWE-91 XML Injection (aka Blind XPath Injection)



Details

  • Published - Jul 27, 2026
  • Updated - Jul 28, 2026

Website Distribution by Country

Number of websites using CVE-2026-59728
United States1,058 websites



Germany127 websites
Japan65 websites
GB57 websites
Australia53 websites
France49 websites
Russia25 websites
Poland24 websites
Italy22 websites
Canada21 websites

Website Distribution by TLD

Number of websites using CVE-2026-59728
.com832 websites
.de75 websites
.net65 websites
.com.au51 websites
.org49 websites
.co.uk42 websites
.it31 websites
.io28 websites
.nl28 websites
.fr26 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2026-59728

Top websites that are affected by CVE-2026-59728. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
*****.net Canada***
******.com United States**,***
*************.com United States**,***
**********.com United States**,***
********.net United States**,***
*********.com United States**,***
**********.com United States***,***
************.com United States***,***
***********.******.io United States***,***
***********.com United States***,***
See full domain list

FAQ

CVE-2026-59728 is XML Injection (aka Blind XPath Injection) in Astro
A total of 1,808 websites have been identified as vulnerable to CVE-2026-59728, based on global website indexing conducted by WebTechSurvey.
The Astro is affected by the CVE-2026-59728 vulnerability.
Astro versions up to 4.0.19 are vulnerable to CVE-2026-59728.
CVE-2026-59728 is resolved in version 4.0.19 of Astro.