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 can close an element early and inject additional nodes (as with source.title). This corrupts feed structure, injects false metadata (for example, a fake 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.
CVE-2026-59728
This medium-severity CVE scores 4.3 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.3
- EG Score
- 4.3(low)
- EG Risk
- 19(Track)EG Risk 19/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity43% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- —
- EPSS %ILE
- —
- KEV
- Not listed
Published
July 20, 2026
Last Modified
July 28, 2026
Advisory Details (3)
Auto-updated Jul 27, 2026commit fbcfa039dfe3 (withastro/astro)
Patch available: withastro/astro [email protected] (contains commit fbcfa039dfe3)
https://github.com/withastro/astro/commit/fbcfa039dfe3d700b239f595a6c55ee35e45bd06Escape source and enclosure fields in RSS feed generation
Patch available: withastro/astro [email protected] (PR #17209 merged 2026-06-26)
https://github.com/withastro/astro/pull/17209XML injection in @astrojs/rss via unescaped source and enclosure fields · Advisory · withastro/astro · GitHub
https://github.com/withastro/astro/security/advisories/GHSA-8j5q-mfj2-5q9qVendor Advisories for CVE-2026-59728(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| @astrojs/rss | — | 4.0.19 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 4× in last 7d / 5× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-28 14:42 UTCEG score recompute
- 2026-07-27 21:39 UTCEG score recompute
- 2026-07-26 10:45 UTCEG score recompute
- 2026-07-23 03:21 UTCEG score recompute
- 2026-07-20 23:33 UTCEG score recompute
Frequently asked(4)
What is CVE-2026-59728?
When was CVE-2026-59728 disclosed?
What is the CVSS score of CVE-2026-59728?
How do I remediate CVE-2026-59728?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59728
Is Your Infrastructure Affected by CVE-2026-59728?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.