WordPress security changelog
HIGH CVE-2020-35942 Modified

Nextgen Gallery: Cross-site scripting

Nextgen Gallery is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.

CVE / CNA score 8.8 CVSS · cve@mitre.org
NVD score 8.8 CVSS 3.1 · nvd@nist.gov
Component
Nextgen Gallery
Plugin slug
nextgen-gallery
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Feb 09, 2021
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CWE-352 — Cross-Site Request Forgery (CSRF)

This CVE was published Feb 09, 2021 and is one of 31 known issues for this plugin.

Update, patch or deactivate.

Update Nextgen Gallery to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.)

NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary and upstream sources