CVE-2024-54428 WordPress Add image to Post plugin <= 0.6 - CSRF to Stored XSS vulnerability

High 7.1 Published Updated

A CSRF vulnerability in the Add image to Post WordPress plugin allows attackers to inject stored XSS payloads, potentially leading to code execution or account takeover.

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

What is CVE-2024-54428?

CVE-2024-54428 is a high-severity cross-site scripting vulnerability in onigetoc Add image to Post, published on 16 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-Site Request Forgery (CSRF) vulnerability in onigetoc Add image to Post add-image-to-post allows Stored XSS.This issue affects Add image to Post: from n/a through <= 0.6.

Weakness: CWE-352

Which versions are affected by CVE-2024-54428?

How do I fix CVE-2024-54428?

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

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

Sources

Also known as GHSA-4r28-24qr-fj7r.

Is CVE-2024-54428 in your software?

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

Check your SBOMs for free