CVE-2026-13605: CWE-79 Cross-Site Scripting (XSS) in PhotoSwipe
CVE-2026-13605 is a cross-site scripting (XSS) vulnerability in the PhotoSwipe WordPress plugin up to version 4.1.1.1. It arises because the plugin uses the title attribute of author-supplied link markup as a lightbox caption without proper escaping. This attribute bypasses post-content sanitization for users without unfiltered_html capability, allowing an authenticated user with Author-level access to inject JavaScript payloads. These payloads execute in the browsers of visitors, including administrators, who click the malicious link.
AI Analysis
Technical Summary
The PhotoSwipe WordPress plugin through version 4.1.1.1 improperly handles the title attribute of author-supplied link markup by using it as a lightbox caption without escaping it before writing into the page DOM. Since the title attribute is not sanitized for users lacking unfiltered_html capability, an authenticated user with Author-level privileges can store a JavaScript payload. This payload executes in the browser context of any visitor, including administrators, who interact with the link, resulting in a stored cross-site scripting vulnerability (CWE-79). The CVSS v3.1 base score is 6.8, indicating a medium severity with network attack vector, low attack complexity, high privileges required, user interaction needed, and high impact on confidentiality, integrity, and availability.
Potential Impact
An authenticated user with Author-level access can inject malicious JavaScript code that executes in the browsers of other users, including administrators, when they click the affected link. This can lead to compromise of user sessions, theft of sensitive information, or other malicious actions within the context of the affected website. The vulnerability affects confidentiality, integrity, and availability of the system as indicated by the CVSS score.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict Author-level user capabilities where possible and avoid clicking suspicious links in the PhotoSwipe plugin context. Monitor vendor channels for updates and apply official fixes when released.
CVE-2026-13605: CWE-79 Cross-Site Scripting (XSS) in PhotoSwipe
Description
CVE-2026-13605 is a cross-site scripting (XSS) vulnerability in the PhotoSwipe WordPress plugin up to version 4.1.1.1. It arises because the plugin uses the title attribute of author-supplied link markup as a lightbox caption without proper escaping. This attribute bypasses post-content sanitization for users without unfiltered_html capability, allowing an authenticated user with Author-level access to inject JavaScript payloads. These payloads execute in the browsers of visitors, including administrators, who click the malicious link.
CVSS v3.1
Score 6.8medium
Affected software
PhotoSwipe
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The PhotoSwipe WordPress plugin through version 4.1.1.1 improperly handles the title attribute of author-supplied link markup by using it as a lightbox caption without escaping it before writing into the page DOM. Since the title attribute is not sanitized for users lacking unfiltered_html capability, an authenticated user with Author-level privileges can store a JavaScript payload. This payload executes in the browser context of any visitor, including administrators, who interact with the link, resulting in a stored cross-site scripting vulnerability (CWE-79). The CVSS v3.1 base score is 6.8, indicating a medium severity with network attack vector, low attack complexity, high privileges required, user interaction needed, and high impact on confidentiality, integrity, and availability.
Potential Impact
An authenticated user with Author-level access can inject malicious JavaScript code that executes in the browsers of other users, including administrators, when they click the affected link. This can lead to compromise of user sessions, theft of sensitive information, or other malicious actions within the context of the affected website. The vulnerability affects confidentiality, integrity, and availability of the system as indicated by the CVSS score.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict Author-level user capabilities where possible and avoid clicking suspicious links in the PhotoSwipe plugin context. Monitor vendor channels for updates and apply official fixes when released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-06-29T08:32:22.616Z
- State
- PUBLISHED
Threat ID: 6a699fb99c2644c7f814eacb
Added to database: 07/29/2026, 06:37:45 UTC
Last enriched: 08/05/2026, 15:14:50 UTC
Last updated: 09/10/2026, 20:00:41 UTC
Views: 52
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.