CVE-2024-2729: The Otter Blocks WordPress plugin before 2.6.6 does not properly escape its mainHeadings blocks' attribute before appending it to the final rendered block, allowing contributors to conduct Stored XSS

medium Affects otter-blocks (WordPress plugin). Feed 2026.10.29.3, updated 2026-10-29; published ; advisory modified .

The Otter Blocks WordPress plugin before 2.6.6 does not properly escape its mainHeadings blocks' attribute before appending it to the final rendered block, allowing contributors to conduct Stored XSS

Package
otter-blocks (WordPress plugin) WordPress
Affected versions
<2.6.6
Fixed in
2.6.6
Severity
medium  CVSS 6.1
Exploitation
not on CISA KEV · EPSS 0% (36.3th percentile)
Published
2024-04-18
Source
nvd

References

CWE-79
NVD recordotter-blocks (WordPress plugin) advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /var/www/html

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories