Vulnerabilities / AMP for WP / WPSEC-2026-3761

AMP for WP <= 1.1.21 - Unauthenticated Stored Cross-Site Scripting via Page Builder Comments Module

High 7.2 CWE-79Fixed in 1.1.22
ID
WPSEC-2026-3761
Plugin
AMP for WP – Accelerated Mobile Pages (accelerated-mobile-pages)
Affected
from 1.0.64 before 1.1.22
Remediation
Update to 1.1.22 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/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-24
Attack surface
AMP for WP on WPSec AttackSurface
Fix released
Published

Description

The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via comment content rendered by the AMP Page Builder Comments module in all versions up to, and including, 1.1.21, due to comment content filtered with wp_kses_post() being passed through a page-builder-wide htmlspecialchars_decode(), which turns HTML entities stored in a comment into live markup. This makes it possible for unauthenticated attackers who can post comments to inject arbitrary web scripts that execute whenever a user accesses an AMP page built with the page builder that contains the Comments module, once the comment is approved.

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