CVE-2021-23209 Cross-site scripting in AMP for WP – Accelerated Mobile Pages (WordPress plugin)

Medium 4.8 Published Updated

Authenticated administrators can inject persistent scripts into the AMP for WP plugin, potentially compromising site integrity and user sessions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-23209?

CVE-2021-23209 is a medium-severity cross-site scripting vulnerability in Ahmed Kaludi, Mohammed Kaludi AMP for WP – Accelerated Mobile Pages (WordPress plugin), published on 18 Mar 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Multiple Authenticated (admin user role) Persistent Cross-Site Scripting (XSS) vulnerabilities discovered in AMP for WP – Accelerated Mobile Pages WordPress plugin (versions <= 1.0.77.32).

Weakness: CWE-79

Which versions are affected by CVE-2021-23209?

It affects 1 product.

Products include Ampforwp Accelerated Mobile Pages.

How do I fix CVE-2021-23209?

No fix has been published for CVE-2021-23209 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-23209 being exploited?

There is no known exploitation of CVE-2021-23209 in the wild and no public exploit code.

Sources

Also known as GHSA-9jg3-6mw2-g4q7.

Is CVE-2021-23209 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free