CVE-2024-3972 Similarity <= 3.0 - Stored XSS via CSRF

Medium 5.7 Published Updated

Attackers can inject stored XSS payloads via CSRF, allowing admin account takeover in the Similarity WordPress plugin.

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-2024-3972?

CVE-2024-3972 is a medium-severity cross-site scripting vulnerability in Unknown Similarity, published on 14 Jun 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Similarity WordPress plugin through 3.0 does not have CSRF check in some places, and is missing sanitisation as well as escaping, which could allow attackers to make logged in admin add Stored XSS payloads via a CSRF attack

Weakness: CWE-352

Which versions are affected by CVE-2024-3972?

It affects 1 product.

Products include Davidjmiller Similarity.

How do I fix CVE-2024-3972?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3972 exists.

Sources

Also known as GHSA-2vx2-q9p6-5g67.

Is CVE-2024-3972 in your software?

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

Check your SBOMs for free