Intel

AIKIDO-2026-507054

jekyll-seo-tag is vulnerable to Cross-Site Scripting (XSS)

GHSA-572m-7cg5-6j5rPublished Oct 5, 2026
October 5, 2026

44

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

The jekyll-seo-tag Liquid template puts several metadata fields - author name, author Twitter handle, canonical URL, page locale, image alt, height and width, and the Twitter card type - into HTML attributes without escaping, and serializes the JSON-LD block with jsonify without escaping </script> or <!-- sequences. Metadata containing </script><script>...</script>, for example an author name synced from _data/authors.yml or edited through a CMS, breaks out of the meta tag or the JSON-LD script block and runs as script on every page that includes the SEO tag, leading to cross-site scripting. The fix applies escape_once to the remaining attribute outputs and adds a filter that escapes the characters that can close the script block in the JSON-LD payload.

How do I fix this?

Upgrade the jekyll-seo-tag library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your site metadata, such as author name, image alt text, or canonical URL, comes from untrusted or CMS edited data.

Versions

2.2.1 - 2.9.0

Fixed in 2.9.1

Background info

jekyll-seo-tag is vulnerable to Cross-Site Scripting (XSS) in versions 2.2.1 - 2.9.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea