XSS in Photoswipe
CVE-2026-13605
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)
EPSS: 0.002 (13.7th percentile) — read the EPSS interpretation.
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.
Affected products
- Unknown Photoswipe — versions 0
Weakness classification (CWE)
References
- contact@wpscan.com (technical-description, exploit, vdb-entry)
Frequently asked questions
- What is CVE-2026-13605?
- CVE-2026-13605 is a medium-severity vulnerability in Photoswipe, classified under Cross-site Scripting. CVSS score: 6.8/10. Published 2026-07-29.
- How severe is CVE-2026-13605?
- Medium severity. CVSS v3 base score is 6.8 out of 10.