7.2high
Lightbox with PhotoSwipe <= 5.18.0 - Unauthenticated Stored Cross-Site Scripting via Comment Link 'title' Attribute
- Severity
- 7.2high CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.54% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| awelzel Lightbox with PhotoSwipe | up to 5.18.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-135654 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-135654 changed 2026-12-01 | Public domain |