Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-9134: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in fooplugins Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel

0
Medium
VulnerabilityCVE-2026-9134cvecve-2026-9134cwe-79
Published: Sat Jun 13 2026 (06/13/2026, 06:47:59 UTC)
Source: CVE Database V5
Vendor/Project: fooplugins
Product: Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel

Description

The FooGallery WordPress plugin is vulnerable to stored cross-site scripting (XSS) via the 'custom_attribute_key' shortcode parameter in versions up to and including 3.1.31. This vulnerability arises from an incomplete blacklist of JavaScript event handlers and failure to properly escape attribute keys when generating gallery container HTML. Authenticated users with contributor-level access or higher can inject malicious scripts that execute when other users view the affected pages.

CVSS v3.1

Score 6.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected software

Affected versions
<=3.1.31

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/13/2026, 07:09:25 UTC

Technical Analysis

CVE-2026-9134 is a stored XSS vulnerability in the FooGallery plugin for WordPress, specifically in the handling of the 'custom_attribute_key' shortcode parameter. The vulnerability is due to an incomplete JavaScript event handler blacklist in the foogallery_sanitize_javascript() function, which blocks only certain event attributes but allows others like 'onmouseenter'. Additionally, the attribute key is not escaped properly in foogallery_build_container_attributes_safe(), enabling injection of arbitrary scripts. This allows authenticated attackers with contributor or higher privileges to inject scripts that execute in the context of users viewing the injected pages.

Potential Impact

An attacker with contributor-level or higher access can inject malicious JavaScript into pages via the vulnerable shortcode parameter. This script executes in the browsers of users who visit the affected pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability has a CVSS 3.1 score of 6.4 (medium severity) with network attack vector, low attack complexity, and no user interaction required.

Mitigation Recommendations

No official patch or remediation level is currently confirmed for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is available, restrict contributor-level access to trusted users and consider disabling or removing the FooGallery plugin if possible. Avoid using the 'custom_attribute_key' shortcode parameter or sanitize inputs manually if feasible.

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
Wordfence
Date Reserved
2026-05-20T18:31:17.531Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2cfea3e617e2d83468ccf1

Added to database: 6/13/2026, 6:54:27 AM

Last enriched: 6/13/2026, 7:09:25 AM

Last updated: 6/13/2026, 8:01:17 AM

Views: 3

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