
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-1298 is a Missing Authorization vulnerability in the Easy Replace Image plugin for WordPress, affecting all versions up to and including 3.5.2. The flaw allows authenticated attackers with Contributor-level access or above to replace arbitrary image attachments on a site with images sourced from external URLs, potentially enabling site defacement, phishing, or content manipulation. It was published on January 28, 2026, and was discovered and reported by Wordfence. The vulnerability carries a CVSS v3.1 base score of 4.3 (Medium) (Wordfence, Red Hat CVE).
The root cause is a missing capability check (CWE-862: Missing Authorization) on the image_replacement_from_url function, which is registered as a handler for the eri_from_url WordPress AJAX action. Because no privilege verification is performed before executing the image replacement logic, any authenticated user — including those with only Contributor-level access — can invoke this AJAX endpoint and supply an external URL to overwrite any existing image attachment on the site. The vulnerable code is visible in the plugin source at line 961 of easy-replace-image.php (Wordfence, WordPress Trac).
Successful exploitation allows an authenticated attacker to silently replace any image attachment on the WordPress site with an image hosted at an attacker-controlled external URL. This can result in site defacement, embedding of phishing imagery, or manipulation of content displayed to end users. Confidentiality and availability are not directly impacted, but integrity of site content is compromised, and the attack could be leveraged to conduct social engineering or phishing campaigns against site visitors (Wordfence).
No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported as of the time of writing. The EPSS score is approximately 0.028% (0.000280), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum a Contributor-level WordPress account, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence, Red Hat CVE).
https://target-site.com/wp-admin/admin-ajax.php.eri_from_url, specifying the target image attachment ID and the external URL of the replacement image (e.g., action=eri_from_url&attachment_id=<ID>&url=https://attacker.com/malicious.jpg)./wp-admin/admin-ajax.php with action=eri_from_url from low-privileged user accounts.admin-ajax.php with the eri_from_url action parameter, especially from Contributor-level accounts; server-side HTTP requests to external image URLs logged in web server or PHP error logs./wp-content/uploads/) with modification timestamps inconsistent with normal editorial activity; image files replaced with content from external domains.wp_posts or wp_postmeta records for image attachments showing recently modified guid or metadata fields pointing to external URLs.Users should update the Easy Replace Image plugin to a version beyond 3.5.2 that includes the capability check fix, as reflected in the plugin changeset (WordPress Trac Changeset). If an immediate update is not possible, site administrators should consider deactivating the plugin until a patched version is applied. Additionally, restricting Contributor-level user registrations and auditing existing low-privileged accounts can reduce the attack surface (Wordfence).
Wordfence included CVE-2026-1298 in their weekly WordPress vulnerability report for the period of January 26 – February 1, 2026, as part of routine disclosure coverage (Wordfence Blog). The vulnerability received standard aggregation coverage from security databases including INCIBE-CERT and CCN-CERT, indicating routine industry awareness without significant elevated concern. No notable researcher commentary or viral social media discussion has been identified beyond automated CVE tracking posts.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."