CVE-2026-1298

Easy Replace Image <= 3.5.2 - Missing Authorization to Authenticated (Contributor+) Arbitrary Attachment Replacement

2026-01-27 17:10
Nabil Irawan

Strategic Overview

Status
Patched in 3.5.3
Affected Plugin
Easy Replace Image
Affected Version
<= 3.5.2
CVSS
4.3Medium
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2026-1298
View all Easy Replace Image vulnerabilities

At a glance

CVE-2026-1298 is a medium-severity Missing Authorization vulnerability in the Easy Replace Image WordPress plugin, affecting versions <= 3.5.2. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 3.5.3; sites on affected versions should update now. Disclosed January 2026, reported by Nabil Irawan.

Vulnerability Overview

The Easy Replace Image plugin for WordPress is vulnerable to Missing Authorization in all versions up to, and including, 3.5.2. This is due to missing capability checks on the `image_replacement_from_url` function that is hooked to the `eri_from_url` AJAX action. This makes it possible for authenticated attackers, with Contributor-level access and above, to replace arbitrary image attachments on the site with images from external URLs, potentially enabling site defacement, phishing attacks, or content manipulation.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.

CWE-862: Missing Authorization

Reaching this weakness in Easy Replace Image <= 3.5.2 takes an account at Contributor level or above. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.

Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Easy Replace Image the fix is 3.5.3: builds <= 3.5.2 are affected, anything from 3.5.3 onward is not.

Remediation

Update to version 3.5.3, or a newer patched version

How does WordSec protect against this?

Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Easy Replace Image 3.5.3 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C