WordPress Gallery Plugin – NextGEN Gallery <= 3.4.7 - Cross-Site Request Forgery to Arbitrary File Upload
Strategic Overview
- Status
- Patched in 3.5.0
- Affected Version
<= 3.4.7- CVSS
- 8.8High
- Weakness type
- CWE-352 · Cross-Site Request Forgery (CSRF)
- CVE
CVE-2020-35943
At a glance
CVE-2020-35943 is a high-severity Cross-Site Request Forgery (CSRF) vulnerability in the Photo Gallery, Sliders, Proofing and Themes WordPress plugin, affecting versions <= 3.4.7. It carries a CVSS score of 8.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 3.5.0; sites on affected versions should update now. Disclosed December 2020, reported by Ram.
Vulnerability Overview
A Cross-Site Request Forgery (CSRF) issue in the NextGEN Gallery plugin before 3.5.0 for WordPress allows File Upload. (It is possible to bypass CSRF protection by simply not including a nonce parameter.)
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-352: Cross-Site Request Forgery (CSRF)
Reaching this weakness in Photo Gallery, Sliders, Proofing and Themes <= 3.4.7 takes a caller who can reach the endpoint. Cross-site request forgery abuses the fact that browsers attach a victim's cookies to any request, so a state-changing action that only checks who you are, not whether you meant to act, can be triggered from another site.
An attacker who gets a logged-in user to load a crafted page can perform that action as them, with the impact scaling to whatever the victim's role is allowed to do. For Photo Gallery, Sliders, Proofing and Themes the fix is 3.5.0: builds <= 3.4.7 are affected, anything from 3.5.0 onward is not.
Remediation
Update to version 3.5.0, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to Photo Gallery, Sliders, Proofing and Themes: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Photo Gallery, Sliders, Proofing and Themes 3.5.0 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
- 8.8CVE-2020-35942: WordPress Gallery Plugin – NextGEN Gallery CSRF
CVE-2020-35942 - 8.8CVE-2015-1784: WordPress Gallery Plugin – NextGEN Gallery CSRF
CVE-2015-1784 - 4.3CVE-2023-48328: NextGEN Gallery <= 3.37 Cross-Site Request Forgery
CVE-2023-48328 - 4.3CVE-2022-38468: NextGEN Gallery CSRF leading to Post Thumbnail Change
CVE-2022-38468
Other vulnerabilities in Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
- 9.8CVE-2019-14314: NextGEN Gallery <= 3.2.10 SQL Injection
CVE-2019-14314 - 9.8CVE-2016-10889: NextGEN Gallery <= 2.1.56 LFI & SQL injection
CVE-2016-10889 - 9.8CVE-2013-3684: WordPress Gallery Plugin Arbitrary File Upload
CVE-2013-3684 - 8.8CVE-2026-1463: Photo Gallery LFI
CVE-2026-1463 - 8.8CVE-2025-13641: Photo Gallery LFI
CVE-2025-13641 - 8.8Freemius SDK <= 2.2.3 Arbitrary Options Update
- 8.8NextGen Gallery <= 3.1.5 PHP Object Injection
- 8.8CVE-2015-9228: NextGen Gallery <= 2.1.10 Unrestricted File Upload
CVE-2015-9228
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C