CVE-2026-97019: AMP for WP <= 1.1.17 - Unauthenticated Stored Cross-Site Scripting via 'headline-*' Shortcode Attribute

Published Oct 28, 2026
·
Updated

The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'headline-' Shortcode Attribute in all versions up to, and including, 1.1.17 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. A Subscriber-level user can store a malicious shortcode in their biographical info field; because WordPress core's wpfilterkses() only strips HTML tags and not shortcode syntax, and because AMP content sanitizers run before doshortcode() processes the archive description, the synthesized markup is never post-sanitized.

Affected Software

1 affected component
AMP for WP AMP for WP – Accelerated Mobile Pages<=1.1.17

Event History

Oct 28, 2026
CVE Published
via MITRE·02:29 AM
Data Sourced
via MITRE·02:29 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this vulnerability?

An unauthenticated attacker can inject stored script content. The described path also allows a Subscriber-level WordPress user to place a malicious shortcode in their biographical information field.

2

When does the malicious script execute?

The script executes when a user accesses an injected page. The affected processing path involves archive descriptions where shortcode-generated markup is processed after the AMP content sanitizers have already run.

3

Are installations running version 1.1.17 affected?

Yes. All AMP for WP versions up to and including 1.1.17 are affected.

4

Why does normal WordPress filtering not prevent the described attack?

WordPress core's wp_filter_kses() strips HTML tags but does not remove shortcode syntax. The shortcode is later expanded by do_shortcode(), and the resulting markup is not sanitized afterward in the described archive-description flow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203