Vulnerabilities / AMP for WP / WPSEC-2026-3763

AMP for WP <= 1.1.21 - Unauthenticated Stored Cross-Site Scripting via AMP Comment Output

High 7.2 CWE-79Fixed in 1.1.22
ID
WPSEC-2026-3763
Plugin
AMP for WP – Accelerated Mobile Pages (accelerated-mobile-pages)
Affected
all versions 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 comments displayed on AMP pages in all versions up to, and including, 1.1.21, due to make_clickable() being applied to comment HTML after AMP sanitization. Attribute values that the DOM serializer writes back with raw characters can then be rewritten into new markup and attributes that the sanitizer never checked. 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 displaying the comment.

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