XML Injection Affecting @astrojs/rss package, versions >=1.0.0 <4.0.19


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ASTROJSRSS-18085631
  • published21 Jul 2026
  • disclosed20 Jul 2026
  • creditalanturing881

Introduced: 20 Jul 2026

NewCVE-2026-59728  (opens in a new tab)
CWE-91  (opens in a new tab)

How to fix?

Upgrade @astrojs/rss to version 4.0.19 or higher.

Overview

@astrojs/rss is an Add RSS feeds to your Astro projects

Affected versions of this package are vulnerable to XML Injection via the source.title and enclosure.type fields, which are interpolated directly into XML templates without proper escaping. An attacker can inject arbitrary XML elements into the generated RSS feed by supplying specially crafted values for these fields, potentially corrupting the feed structure or injecting malicious links.

CVSS Base Scores

version 4.0
version 3.1