Intel

AIKIDO-2026-532869

roots/wordpress is vulnerable to Cross-Site Scripting (XSS)

GHSA-2p22-wv7j-cvfvPublished Oct 30, 2026
October 30, 2026

45

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

The Image and Playlist blocks use markup containing block attributes as preg_replace replacement strings. Backreferences such as $1 in those attributes are interpreted during rendering and can alter the generated HTML. The fix inserts markup through the HTML Tag Processor so attribute values remain literal.

How do I fix this?

Upgrade the roots/wordpress package to a patched version.

Who does this affect?

You are affected if you use a vulnerable version and render attacker-controlled Image lightbox or Playlist block attributes.

Versions

6.4 - 6.4.13

Fixed in 6.4.14

6.5 - 6.5.13

Fixed in 6.5.14

6.6 - 6.6.10

Fixed in 6.6.11

6.7 - 6.7.10

Fixed in 6.7.11

6.8 - 6.8.11

Fixed in 6.8.12

6.9 - 6.9.10

Fixed in 6.9.11

7.0 - 7.0.7

Fixed in 7.0.8

7.1 - 7.1.3

Fixed in 7.1.4

Background info

roots/wordpress is vulnerable to Cross-Site Scripting (XSS) in versions 6.4 - 6.4.13, 6.5 - 6.5.13, 6.6 - 6.6.10, 6.7 - 6.7.10, 6.8 - 6.8.11, 6.9 - 6.9.10, 7.0 - 7.0.7 and 7.1 - 7.1.3.

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