CVE-2025-26903

4.3 MEDIUM

📋 TL;DR

A Cross-Site Request Forgery (CSRF) vulnerability in the RealMag777 InPost Gallery WordPress plugin allows attackers to trick authenticated administrators into performing unintended actions. This affects all WordPress sites using InPost Gallery versions up to 2.1.4.3. The vulnerability requires an attacker to lure an authenticated user to a malicious page.

💻 Affected Systems

Products:
  • RealMag777 InPost Gallery WordPress Plugin
Versions: n/a through 2.1.4.3
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations using vulnerable plugin versions are affected regardless of configuration.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

An attacker could trick an administrator into changing plugin settings, deleting galleries, or potentially performing other administrative actions within the plugin's scope.

🟠

Likely Case

Attackers could modify gallery configurations, delete content, or disrupt gallery functionality by tricking authenticated users.

🟢

If Mitigated

With proper CSRF protections or user awareness, the risk is minimal as it requires user interaction with malicious content.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires social engineering to trick authenticated users into visiting malicious pages.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.1.4.4 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/inpost-gallery/vulnerability/wordpress-inpost-gallery-plugin-2-1-4-3-cross-site-request-forgery-csrf-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'InPost Gallery' and click 'Update Now'. 4. Verify version is 2.1.4.4 or higher.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable the plugin until patched to prevent exploitation.

wp plugin deactivate inpost-gallery

🧯 If You Can't Patch

  • Implement strict Content Security Policy (CSP) headers to limit cross-origin requests.
  • Use browser extensions that block CSRF attempts and educate users about phishing risks.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for InPost Gallery version.

Check Version:

wp plugin get inpost-gallery --field=version

Verify Fix Applied:

Verify plugin version is 2.1.4.4 or higher in WordPress admin.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /wp-admin/admin-ajax.php from unexpected referrers
  • Multiple failed or unexpected gallery modification attempts

Network Indicators:

  • HTTP requests with missing or mismatched CSRF tokens in plugin endpoints

SIEM Query:

source="wordpress.log" AND "inpost-gallery" AND ("admin-ajax" OR "wp-admin") AND status=200

🔗 References

📤 Share & Export