CVE-2016-20077 WordPress Plugin Photocart Link 1.6 Local File Inclusion via decode.php
Unauthenticated attackers can read arbitrary files, including database credentials, via local file inclusion in the Photocart Link plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2016-20077?
CVE-2016-20077 is a medium-severity path traversal vulnerability in KaymeePhotography Photocart Link, published on 15 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
WordPress Plugin Photocart Link 1.6 contains a local file inclusion vulnerability that allows unauthenticated attackers to read arbitrary files by exploiting insufficient input validation in decode.php. Attackers can supply base64-encoded file paths in the 'id' parameter to the decode.php endpoint to retrieve sensitive files like wp-config.php containing database credentials and configuration data.
Weakness: CWE-98
Which versions are affected by CVE-2016-20077?
How do I fix CVE-2016-20077?
No fix has been published for CVE-2016-20077 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2016-20077 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-20077 exists.
Sources
Also known as GHSA-6x3x-868q-3vjm.