CVE-2015-1394
WordPress vulnerability analysis and mitigation

Overview

Multiple cross-site scripting (XSS) vulnerabilities were discovered in the Photo Gallery plugin before version 1.2.11 for WordPress. The vulnerability was identified on January 20, 2015, and affects authenticated users who can upload pictures to galleries. The plugin had over half a million downloads at the time of discovery (Bugtraq).

Technical details

The vulnerability exists in the wp-admin/admin-ajax.php endpoint when processing various parameters during image upload. Eight parameters were found to be vulnerable to XSS: sort_by, sort_order, items_view, dir, clipboard_task, clipboard_files, clipboard_src, and clipboard_dest. The sort_by parameter could be exploited via GET request, while others required POST requests. The vulnerability has a CVSS v3.1 base score of 5.4 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The vulnerability allows authenticated users to inject arbitrary web script or HTML via multiple parameters. This could enable attackers to perform website spoofing or inject malicious JavaScript code to use attacking tools like BeEF against other WordPress backend users (Bugtraq).

Exploitability

The vulnerability requires authentication and can be exploited through specially crafted requests to the admin-ajax.php endpoint. A proof-of-concept exploit involves sending a GET request with malicious JavaScript in the sort_by parameter: http://127.0.0.1/wordpress/wp-admin/admin-ajax.php?action=addImages&width=700&height=550&extensions=jpg,jpeg,png,gif&callback=bwg_add_preview_image&sort_by=name";>alert(1)</script> (Bugtraq).

Mitigation and workarounds

Users should update to Photo Gallery version 1.2.11 or later which contains fixes for these vulnerabilities. The vendor was informed on January 21, 2015, responded on January 23, 2015, and released a fix on January 25, 2015 (Bugtraq).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-65640HIGH8.8
  • wordpress
NoYesAug 17, 2026
CVE-2026-11801HIGH7.5
  • wpadverts
NoYesAug 18, 2026
CVE-2026-13700MEDIUM5.9
  • wooms
NoNoAug 17, 2026
CVE-2026-14832MEDIUM5.3
  • shopsmart-loyalty-for-woocommerce
NoNoAug 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management