SiteSEO – SEO Simplified <= 1.4.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Table of Contents Feature

Medium 6.4 CWE-79Fixed in 1.4.3
ID
WPSEC-2026-3965
Plugin
SiteSEO – SEO Simplified (siteseo)
Affected
all versions before 1.4.3
Remediation
Update to 1.4.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-26
Attack surface
SiteSEO – SEO Simplified on WPSec AttackSurface
Fix released
Published

Description

The SiteSEO – SEO Simplified plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Table of Contents feature in all versions up to, and including, 1.4.2. This is due to the add_ids_to_headings() content filter: on posts that contain the [siteseo_toc] shortcode, it parses the already-sanitized post content with DOMDocument and outputs it again with saveHTML(). That round trip decodes entity-encoded attribute values and writes them back without escaping, so markup that WordPress's content filtering allowed becomes executable. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, provided the Table of Contents feature is enabled.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0