Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-126011 — smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

High · CVSS 7.2EPSS 0.4% First seen November 21, 2026
PHPWordPressWebVulnerabilities

Research article

WordPress NextGEN Gallery Plugin Vulnerable to Stored XSS via Comment Parameter

CVECVE-2026-126011
Vendor and productsmub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
PublishedNovember 24, 2026 09:10 UTC
Research cut-offNovember 24, 2026 08:10 UTC
Sources reviewed3: NVD record (last modified 2026-11-23); CISA KEV catalog; FIRST EPSS (2026-11-23)

Executive summary

The WordPress NextGEN Gallery plugin is impacted by a Stored Cross-Site Scripting (XSS) flaw because of inadequate sanitization of input and lack of proper escaping for the 'comment' parameter [1]. The CVSS 3.1 score is 7.2 HIGH, scored by security@wordfence.com [1]. The vulnerability impacts versions up to and including 4.5.6 [1], and the reviewed sources do not report exploitation [2]. The sources do not list a fixed version, so the sources do not establish an upgrade path [1].

Key points

  • The WordPress NextGEN Gallery plugin is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter [1].
  • The CVSS 3.1 score is 7.2 HIGH, scored by security@wordfence.com [1].
  • The vulnerability affects versions up to and including 4.5.6 [1].
  • The reviewed sources do not report exploitation [2].
  • The EPSS score is 0.0042 (0.42%) with a percentile of 0.3747 [3].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-126011smubPhoto Gallery, Sliders, Proofing and Themes – NextGEN GalleryCWE-797.2 HIGH, scored by security@wordfence.com2026-11-21T08:16:392026-11-23T17:17:30Deferred

Vulnerability description

A Stored XSS vulnerability is present in the WordPress NextGEN Gallery plugin as a result of inadequate sanitization of input and lack of proper escaping for the 'comment' parameter. This enables unauthenticated attackers to insert malicious web scripts into web pages, which will run when any user visits a page that has been compromised [1]. The vulnerability is only active on websites where the Thickbox lightbox feature is set to apply to all images (thumbEffectContext=allimages), and it also needs an administrator to approve the attacker's first comment in order for future comments from that user to be automatically approved [1].

Attack surface and exploitation prerequisites

The CVSS vector indicates that the vulnerability requires network access (AV:N), no privileges (PR:N), and no user interaction (UI:N). It affects confidentiality (C:L), integrity (I:L), and availability (A:N). This vulnerability affects sites that have the Thickbox lightbox enabled along with the 'Apply to all images' option, and where the administrator has accepted the attacker's initial comment [1].

Impact analysis

The CVSS vector shows that the vulnerability has a low impact on confidentiality (C:L), low impact on integrity (I:L), and no impact on availability (A:N). The report indicates that unauthenticated attackers can insert malicious web scripts into web pages, which will execute when any user visits a compromised page [1].

Affected products and versions

Affected ProductFixed Version
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallerynot listed

The vulnerability affects all versions up to and including 4.5.6 [1]. No fixed version is listed in the sources [1].

Exploitation and threat intelligence status

The reviewed sources do not report exploitation [2]. The EPSS score for this CVE is 0.0042 (0.42%) with a percentile of 0.3747, indicating a low estimated probability of exploitation activity in the next 30 days [3].

Detection and exposure assessment

Readers can determine if they are exposed by checking if their installed version of the WordPress NextGEN Gallery plugin is within the affected range (≤ 4.5.6) [1]. No detection steps are provided by the sources [1].

Remediation

The sources do not list a fixed version [1]. No mitigation steps are provided by the sources [1].

Remediation checklist

  1. Check if the installed version of the WordPress NextGEN Gallery plugin is within the affected range (≤ 4.5.6) [1].
  2. - Check the plugin's vendor channels for a fixed version; the sources do not list one [1].
  3. Review the site configuration to ensure the Thickbox lightbox effect is not set to 'Try to apply to all images' (thumbEffectContext=allimages) [1].
  4. Monitor for any signs of unauthorized comment submissions or script injections.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not explain the root cause of the vulnerability beyond the CWE-79 classification.
  • The sources do not describe how the flaw works in technical mechanics.
  • The sources do not describe any exploitation scenarios or attack lifecycle.
  • The sources do not mention any indicators of compromise.
  • The sources do not provide a workaround or compensating control.

References

  1. CVE-2026-126011 record. NIST National Vulnerability Database (NVD), 2026-11-23. https://nvd.nist.gov/vuln/detail/CVE-2026-126011. Accessed 2026-11-24. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Detection and exposure assessment, Remediation
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24. Exploitation and threat intelligence status
  3. EPSS score for CVE-2026-126011. FIRST, 2026-11-23. https://api.first.org/data/v1/epss?cve=CVE-2026-126011. Accessed 2026-11-24. Exploitation and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.5.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the site administrator to have configured the Thickbox lightbox effect with the "Try to apply to all images" context (thumbEffectContext=all_images), and exploitation additionally depends on an administrator approving the attacker's initial comment so that subsequent comments from that author are auto-approved.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.2 CVSS 3.1 base score from the CNA (wordfence.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
Impact
low on confidentiality and integrity, none on availability

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected and fixed versions

ProductAffected versionsFixed in
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery≤ 4.5.6—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

Frequently asked questions

What is CVE-2026-126011?

The WordPress NextGEN Gallery plugin is impacted by a Stored Cross-Site Scripting (XSS) flaw because of inadequate sanitization of input and lack of proper escaping for the 'comment' parameter. The CVSS 3.1 score is 7.2 HIGH, scored by security@wordfence.com. The vulnerability impacts versions up to and including 4.5.6, and the reviewed sources do not report exploitation. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).

How severe is CVE-2026-126011?

CVE-2026-126011 has a CVSS 3.1 base score of 7.2 (high), from the CNA (wordfence.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-126011 being exploited?

Not as far as is known: CVE-2026-126011 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-126011?

smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery ≤ 4.5.6.

How do I fix CVE-2026-126011?

Check if the installed version of the WordPress NextGEN Gallery plugin is within the affected range (≤ 4.5.6). - Check the plugin's vendor channels for a fixed version; the sources do not list one. Review the site configuration to ensure the Thickbox lightbox effect is not set to 'Try to apply to all images' (thumbEffectContext=allimages).

Timeline & sources

References

Related vulnerabilities & news