CVE-2026-135654

7.2High

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

7.2CVSS

High

0CVSS v3.110

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

What an attacker gets

Unauthenticated attackers can inject malicious scripts into your site that execute in the browsers of visitors. This requires an administrator to approve the initial comment containing the payload.

Root cause

The plugin fails to properly sanitize input or escape output for the comment parameter.

Affected versions

Lightbox with PhotoSwipe plugin up to and including version 5.18.0

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

Fix & remediation

Update the Lightbox with PhotoSwipe plugin to the latest available version. If an update is unavailable, disable comment functionality on posts where the lightbox is active.

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

NVD description

The Lightbox with PhotoSwipe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 5.18.0 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. Successful exploitation requires an administrator to approve the attacker's comment at least once, which is the default WordPress behavior for first-time commenters; after that initial approval, no further administrative action is needed and the payload fires for any visitor who opens the lightbox on the affected post.

References

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

More fully triaged vulnerabilities you may want to check next.