Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-59728— @astrojs/rss: XML Injection via Unescaped RSS Feed Fields

Quick assessment

Affected
withastro astro
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

withastro astro是withastro的框架。 withastro astro 1.0.0版本至4.0.18版本存在输入验证错误漏洞,该漏洞源于source.title和enclosure.type字段在XML模板中直接插值,未进行XML字符转义,可能导致攻击者注入任意XML,破坏feed结构并注入虚假元数据。

CVSS 4.3 · Medium EPSS 0.37% · P29

Affected Version Matrix 1

VendorProduct Version RangeStatus
withastro astro >= 1.0.0, < 4.0.19 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-59728

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
@astrojs/rss: XML Injection via Unescaped RSS Feed Fields
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
XML注入(XPath盲注)
Source: CVE Program / CVE List V5
Vulnerability Title
withastro astro 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
withastro astro是withastro的框架。 withastro astro 1.0.0版本至4.0.18版本存在输入验证错误漏洞,该漏洞源于source.title和enclosure.type字段在XML模板中直接插值,未进行XML字符转义,可能导致攻击者注入任意XML,破坏feed结构并注入虚假元数据。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
withastro astro >= 1.0.0, < 4.0.19 -

II. Public POCs for CVE-2026-59728

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-59728

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-59728 (2)

Vendor Advisories for CVE-2026-59728 (1)

Vendor Pages for CVE-2026-59728 (1)

Same Patch Batch · withastro · 2026-07-27 · 4 CVEs total

CVE-2026-59729 5.1 MEDIUM Astro: XSS via unescaped spread attribute names in renderHTMLElement (incomplete fix for C
CVE-2026-59727 2.1 LOW Astro: Cross-site scripting via unescaped transition:* directive values on hydrated island
CVE-2026-59730 2.1 LOW @astrojs/node: Backslash-prefixed paths not recognized as internal by trailing-slash redir

IV. Related Vulnerabilities

V. Comments for CVE-2026-59728

No comments yet


Leave a comment