Intel

AIKIDO-2026-927259

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

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 30, 2026
October 30, 2026

65

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

WordPress PHP and JavaScript block parsers disagree on whitespace allowed in block delimiters. A Contributor or higher-privileged user can craft block markup that is interpreted differently during sanitization and rendering, allowing stored cross-site scripting. The fix makes the PHP parser use the same explicit whitespace characters as the JavaScript parser.

How do I fix this?

Upgrade the johnpbloch/wordpress-core package to a patched version.

Who does this affect?

You are affected if you use a vulnerable version and render attacker-controlled block markup.

Versions

5.0.0 - 5.0.30

Fixed in 5.0.31

5.1.0 - 5.1.27

Fixed in 5.1.28

5.2.0 - 5.2.29

Fixed in 5.2.30

5.3.0 - 5.3.26

Fixed in 5.3.27

5.4.0 - 5.4.24

Fixed in 5.4.25

5.5.0 - 5.5.23

Fixed in 5.5.24

5.6.0 - 5.6.22

Fixed in 5.6.23

5.7.0 - 5.7.20

Fixed in 5.7.21

5.8.0 - 5.8.18

Fixed in 5.8.19

5.9.0 - 5.9.19

Fixed in 5.9.20

6.0.0 - 6.0.17

Fixed in 6.0.18

6.1.0 - 6.1.15

Fixed in 6.1.16

6.2.0 - 6.2.14

Fixed in 6.2.15

6.3.0 - 6.3.13

Fixed in 6.3.14

6.4.0 - 6.4.13

Fixed in 6.4.14

6.5.0 - 6.5.13

Fixed in 6.5.14

6.6.0 - 6.6.10

Fixed in 6.6.11

6.7.0 - 6.7.10

Fixed in 6.7.11

6.8.0 - 6.8.11

Fixed in 6.8.12

6.9.0 - 6.9.10

Fixed in 6.9.11

7.0.0 - 7.0.7

Fixed in 7.0.8

7.1.0 - 7.1.3

Fixed in 7.1.4

Background info

johnpbloch/wordpress-core is vulnerable to Cross-Site Scripting (XSS) in versions 5.0.0 - 5.0.30, 5.1.0 - 5.1.27, 5.2.0 - 5.2.29, 5.3.0 - 5.3.26, 5.4.0 - 5.4.24, 5.5.0 - 5.5.23, 5.6.0 - 5.6.22, 5.7.0 - 5.7.20, 5.8.0 - 5.8.18, 5.9.0 - 5.9.19, 6.0.0 - 6.0.17, 6.1.0 - 6.1.15, 6.2.0 - 6.2.14, 6.3.0 - 6.3.13, 6.4.0 - 6.4.13, 6.5.0 - 6.5.13, 6.6.0 - 6.6.10, 6.7.0 - 6.7.10, 6.8.0 - 6.8.11, 6.9.0 - 6.9.10, 7.0.0 - 7.0.7 and 7.1.0 - 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