Skip to main content
EPSS 0.2%top 86%

CVE-2026-13605: CWE-79 Cross-Site Scripting (XSS) in PhotoSwipe

0
Medium
VulnerabilityCVE-2026-13605cvecve-2026-13605cwe-79
Published: 07/29/2026 (07/29/2026, 06:00:02 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Affected software

PhotoSwipe

Affected versions
>=0 <=4.1.1.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 15:14:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses