CVE-2017-20207: PHP Object Injection in WordPress Flickr Gallery
- Vendor
- Dancoulter
CVE-2017-20207 is a PHP object injection vulnerability in the Flickr Gallery plugin for WordPress, affecting versions up to and including 1.5.2. Deserialization of untrusted input supplied through the pager parameter allows unauthenticated attackers to inject PHP objects. The vulnerability was actively exploited using the WordPress WP_Theme() class to create backdoors.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits unauthorized PHP object injection. Observed exploitation used the WP_Theme() class to create backdoors, compromising the integrity of the affected WordPress installation and enabling persistent unauthorized access.
Mitigation
If you can’t patch tonight, do this now.
Disable or remove the Flickr Gallery plugin if an upgrade cannot be applied.
Remediation
Patch, then assume compromise.
Upgrade Flickr Gallery to version 1.5.3 or later, outside the identified affected range. Because exploitation has included backdoor creation, affected installations should also be checked for compromise; upgrading alone does not remove an existing backdoor.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-20207 exploited in the wild?
- Yes. As of Oct 9, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2017-20207?
- As of Oct 9, 2026, Mallory has found no public exploit for CVE-2017-20207.
- Is there a patch for CVE-2017-20207?
- Upgrade Flickr Gallery to version 1.5.3 or later, outside the identified affected range. Because exploitation has included backdoor creation, affected installations should also be checked for compromise; upgrading alone does not remove an existing backdoor.
- What products are affected by CVE-2017-20207?
- Dancoulter Flickr Gallery.
- How severe is CVE-2017-20207?
- CVE-2017-20207 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 0.73% (55th percentile) as of Oct 9, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.