# AMP for WP <= 1.1.18 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Author Biographical Info

- **ID:** WPSEC-2026-0895
- **Plugin:** AMP for WP – Accelerated Mobile Pages (`accelerated-mobile-pages`), https://wordpress.org/plugins/accelerated-mobile-pages/
- **Affected versions:** all versions before 1.1.19
- **Fixed in:** 1.1.19 (Update to 1.1.19 or later.)
- **Severity:** Medium 6.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-10-14)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/accelerated-mobile-pages
- **Fix released:** 2026-10-13
- **Published:** 2026-10-14
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0895/

## Description

The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via the author Biographical Info field in all versions up to, and including, 1.1.18. This is due to the AMP archive templates passing the archive description, which on author archives is the author's biographical info, to do_shortcode() without checking whether the author is allowed to run shortcodes. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes by putting them in their own profile biography, which runs whenever the AMP version of their author archive is viewed.

## References

- https://wpsec.com/vuln/WPSEC-2026-0895/
- https://plugins.svn.wordpress.org/accelerated-mobile-pages/tags/1.1.19/
- https://wordpress.org/plugins/accelerated-mobile-pages/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0895/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
