CVE-2021-39312: The True Ranker plugin <= 2.2.2 for WordPress allows arbitrary files, including sensitive configuration files
CVE-2021-39312 is a high-severity flaw (CVSS 7.5) affecting true ranker. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The True Ranker plugin <= 2.2.2 for WordPress allows arbitrary files, including sensitive configuration files such as wp-config.php, to be accessed via the src parameter found in the ~/admin/vendor/datatables/examples/resources/examples.php file.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 77.9% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2021-12-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: WordPress Plugin The True Ranker 2.2.2 - Arbitrary File Read (Unauthenticated)
- Nuclei scan template: WordPress True Ranker <2.2.4 - Local File Inclusion
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-39312?
true ranker: upgrade to newer than 2.2.2. Exact commands for each OS are on this page.
Is CVE-2021-39312 being exploited?
CVE-2021-39312 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-39312 affect?
CVE-2021-39312 affects true ranker. Severity is high (CVSS 7.5). The True Ranker plugin <= 2.2.2 for WordPress allows arbitrary files, including sensitive configuration files such as wp-config.php, to be accessed via the src parameter found in the ~/admin/vendor/datatables/examples/resources/examples.php
How urgent is CVE-2021-39312?
Priority 61/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
WordPress vulnerabilities · PHP vulnerabilities