CVE-2025-22786·PHP vulnerability
Path Traversal: '.../...//' vulnerability in Element Invader ElementInvader Addons for Elementor elementinvader-addons-for-elementor allows PHP Local File Inclusion.This issue affects ElementInvader Addons for Elementor: from n/a through <= 1.2.6.
- Severity
- high
- Software
- PHP
- Fixed in
- 1.2.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.29% — higher than 52% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2025-22786 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.29%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
Until: 1.2.7
Fixed in: 1.2.7
How to fix this CVE
Update the ElementInvader Addons for Elementor plugin to version 1.2.7 or later to remediate this path traversal vulnerability that could allow authenticated users to include and execute arbitrary PHP files. If you are running PHP with this vulnerable plugin installed, immediate patching is critical as the flaw enables local file inclusion attacks that bypass normal access controls.
sudo dnf check-update php && sudo dnf upgrade phpDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST|GET.*elementinvader.*(?:\.\./|%2e%2e%2f|\.\.\\|%2e%2e%5c).*\.phpWAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Block HTTP requests containing path traversal sequences (../, %2e%2e%2f, ..\, %2e%2e%5c) in query parameters and POST data targeting Elementor or ElementInvader plugin endpoints. Implement strict input validation to reject any parameter values containing directory traversal characters.How to check if you are affected
- Check installed PHP version: php -v
- List installed WordPress plugins and verify ElementInvader Addons version: wp plugin list --allow-root | grep elementinvader
- Search web server logs for path traversal patterns: grep -i '\.\./\|%2e%2e%2f' /var/log/apache2/access.log /var/log/nginx/access.log 2>/dev/null
- Verify plugin update status by checking the wp-content/plugins/elementinvader-addons-for-elementor/elementinvader-addons-for-elementor.php file for version declaration: grep -i 'Version:' /var/www/html/wp-content/plugins/elementinvader-addons-for-elementor/elementinvader-addons-for-elementor.php
Indicators of compromise
- elementinvader-addons-for-elementor plugin version <= 1.2.6
- Directory traversal patterns in HTTP logs targeting Elementor admin endpoints
FAQ
What is CVE-2025-22786?
CVE-2025-22786 is a path traversal vulnerability in the ElementInvader Addons for Elementor WordPress plugin that allows authenticated users to manipulate file paths using directory traversal sequences (e.g., ../../) to include and execute arbitrary PHP files on the server, leading to potential remote code execution.
Is CVE-2025-22786 being actively exploited?
No, CVE-2025-22786 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits have been released, though the vulnerability does require authentication to exploit.
What versions of ElementInvader Addons for Elementor are affected by CVE-2025-22786?
All versions up to and including 1.2.6 are vulnerable; version 1.2.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2025-22786?
Run: wp plugin list --allow-root | grep elementinvader to identify the installed version. If the version is 1.2.6 or earlier, your installation is vulnerable.
Does Defensia detect CVE-2025-22786?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the ElementInvader Addons for Elementor plugin is installed on a monitored server, CVE-2025-22786 will appear in your dashboard with remediation steps.
Related PHP CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-22786. Free for 1 server.
Get started free