Skip to content
DayZeroHub
High Not yet writtenCVSS 7.2CVE-2026-126011

CVE-2026-126011: Photo Gallery, Sliders, Proofing and Themes <= 4.5.6 - Unauthenticated Stored Cross-Site Scripting via Comment Link via Thickbox Lightbox 'all_images' Context

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

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-126011: high-severity vulnerability (CVSS 7.2) in smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.2.

Affected products and versions

smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.5.6

ProductVersionsFixed in
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery<= 4.5.6—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-79

Relevant change history

  1. Published

    Preliminary advisory published.