XSS in Photoswipe
CVE-2026-13605
- CVSS v3
- 6.8 Medium
- Public exploits
- None known
- EPSS
- 0.004 · 38.1th percentile
- Published
- 2026-07-29
The PhotoSwipe WordPress plugin through 4.1.1.1 uses the title attribute of author-supplied link markup as a lightbox caption that is written into the page DOM without escaping. Because the title attribute survives the post-content sanitization applied to users who lack the unfiltered_html capability, an authenticated user with Author-level access can store a JavaScript payload that executes in the browser of any visitor, including an administrator, who clicks the link.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- High
PR:H - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.004, 38.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Photoswipe — versions 0
Weakness classification (CWE)
References
- wpscan.com/vulnerability/7ec73098-99eb-48cb-8ff6-a05110691117/ (technical-description, exploit, vdb-entry)