# CVE-2020-35942: A Cross-Site Request Forgery (CSRF) issue in the NextGEN Gallery plugin before 3.5.0 for WordPress allows File Upload and Local File Inclus…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.44%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-09T17:49:23.000Z
- Modified: 2026-06-17T03:14:38.993Z
- Weaknesses: CWE-79, CWE-352
- Assigned by: mitre

## Description

A Cross-Site Request Forgery (CSRF) issue in the NextGEN Gallery plugin before 3.5.0 for WordPress allows File Upload and Local File Inclusion via settings modification, leading to Remote Code Execution and XSS. (It is possible to bypass CSRF protection by simply not including a nonce parameter.)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- imagely nextgen_gallery: before 3.5.0

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://www.wordfence.com/blog/2021/02/severe-vulnerabilities-patched-in-nextgen-gallery-affect-over-800000-wordpress-sites/> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2020-35942](https://www.cve.org/CVERecord?id=CVE-2020-35942), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-35942](https://nvd.nist.gov/vuln/detail/CVE-2020-35942), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35942 · Whole record: https://cve.day/CVE-2020-35942.json · Rebuilt by cve.day 2026-11-25T22:57:57.315Z
