WordPress security changelog
MEDIUM CVE-2021-47951 Deferred

Picture Gallery: Cross-site scripting

Picture Gallery is affected by cross-site scripting. Exploitation requires an authenticated WordPress account. Injected script can execute in the affected site's origin when the vulnerable output is viewed. The published affected range is 1.4.2.

CVE / CNA score 5.1 CVSS 4.0 · disclosure@vulncheck.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Picture Gallery
Plugin slug
picture-gallery
Affected
1.4.2
Safe version
See mitigation notes
Published
May 10, 2026
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

This CVE was published May 10, 2026 and is one of 6 known issues for this plugin.

Patch or disable the affected component.

Update Picture Gallery to a release outside the affected range, or disable and remove it until a fixed version is available.

Technical description

WordPress Picture Gallery 1.4.2 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts through the Edit Content URL field in the Access Control settings. Attackers can enter JavaScript payloads in the plugin options that are stored in the database and executed when the functionality is triggered, enabling session hijacking or credential theft.

CVE / CNA vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary and upstream sources