Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @astrojs/rss
  4. ›
  5. CVE-2026-59728

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

July 20, 2026 (updated August 12, 2026)

In @astrojs/rss, the source.title and enclosure.type item fields are interpolated directly into XML template strings without XML-character escaping before being parsed by fast-xml-parser. An attacker who controls these field values can inject arbitrary XML elements into the generated RSS feed.

References

  • github.com/advisories/GHSA-8j5q-mfj2-5q9q
  • github.com/withastro/astro/commit/fbcfa039dfe3d700b239f595a6c55ee35e45bd06
  • github.com/withastro/astro/pull/17209
  • github.com/withastro/astro/releases/tag/@astrojs/rss@4.0.19
  • github.com/withastro/astro/security/advisories/GHSA-8j5q-mfj2-5q9q
  • nvd.nist.gov/vuln/detail/CVE-2026-59728

Code Behaviors & Features

Detect and mitigate CVE-2026-59728 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.0.0 before 4.0.19

Fixed versions

  • 4.0.19

Solution

Upgrade to version 4.0.19 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-91: XML Injection (aka Blind XPath Injection)

Source file

npm/@astrojs/rss/CVE-2026-59728.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:18 +0000.