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

Medium 4.8 Published Updated

Authenticated administrators can inject malicious 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-23150?

CVE-2021-23150 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

Authenticated (admin+) Stored Cross-Site Scripting (XSS) vulnerability discovered in AMP for WP – Accelerated Mobile Pages plugin <= 1.0.77.31 versions.

Weakness: CWE-79

Which versions are affected by CVE-2021-23150?

It affects 1 product.

Products include Ampforwp Accelerated Mobile Pages.

How do I fix CVE-2021-23150?

No fix has been published for CVE-2021-23150 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-23150 being exploited?

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

Sources

Also known as GHSA-843j-8fp3-h6f6.

Is CVE-2021-23150 in your software?

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

Check your SBOMs for free