CVE-2026-135987

7.1High

Published Dec 5, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
Required
Impact
Limited impact
Weakness
CWE-79

What an attacker gets

Remote attackers can execute arbitrary scripts in a user's browser by injecting malicious payloads into the gallery. This requires an authenticated user with gallery management permissions to trigger the stored XSS.

Root cause

The plugin fails to properly sanitize user-supplied input before rendering it on web pages, leading to stored cross-site scripting.

Affected versions

NextGEN Gallery versions before 4.6.0

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Fix & remediation

Update the NextGEN Gallery plugin to version 4.6.0 or later. If you cannot update immediately, restrict access to the gallery management interface to trusted administrators only.

remediation — bash
$ wp plugin update nextgen-gallery

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Awesomemotive NextGEN Gallery nextgen-gallery allows Stored XSS.This issue affects NextGEN Gallery: from n/a before 4.6.0.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-135987

More fully triaged vulnerabilities you may want to check next.