Skip to main content

Modula Gallery EUVDEUVD-2026-119155

| CVE-2026-121976 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-07 Wordfence GHSA-g6pv-q7rc-97m5
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Author-level WordPress account
  2. Delivery
    Inject javascript: URI into gallery image link field
  3. Exploit
    Save via Modula REST handler stores payload
  4. Execution
    Victim opens published gallery page
  5. Persist
    Victim clicks poisoned gallery tile
  6. Impact
    Script executes in victim browser session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated WordPress account with Author-level capabilities or higher (PR:L) that can create or edit Modula galleries; the attacker sets the per-image 'link' field to a 'javascript:' scheme URL, which normalize_item_row() preserves as an unknown key and generate_attributes() emits with only esc_attr() applied, never stripping the scheme. Execution is further gated on a victim subsequently loading the affected published page AND clicking the injected gallery tile - contrary to the input's UI:N, the description requires this interaction, which meaningfully limits reliability. Limiting factors: needs a semi-trusted author account (not unauthenticated), needs victim interaction (a click), and is remediated in version 3.0.18.

Impact

This is a moderate-severity stored XSS (CVSS 6.4, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) in the Modula WordPress gallery plugin, reported by Wordfence and assigned the vuln.today priority 'this_month' - not an emergency and not in CISA KEV. No EPSS score was supplied, no KEV listing exists, and no working proof-of-concept is referenced (the provided links are vendor threat-intel, plugin source lines, and the 3.0.18 fix changeset, not exploit code), so exploitation status is 'no public exploit identified at time of analysis.' The real constraint on risk is the privilege requirement: PR:L maps to the described Author-level-and-above access, meaning an attacker must already have a semi-trusted authoring account, which makes this a privilege-escalation/trust-boundary issue (a lower-privileged author injecting script that runs against higher-privileged viewers via S:C) rather than a mass-exploitable unauthenticated flaw. Note a signal conflict: the input vector sets UI:N, but the description states the payload executes only 'whenever a user accesses an injected page and clicks the gallery tile,' which implies user interaction is in fact required - verify with the vendor, as UI:R would lower the practical score. Overall this is a legitimate but not top-priority fix: bounded by authentication and a victim click, best scheduled as routine patching rather than treated as an active-exploitation emergency.

Exploit ScenarioDerived

An attacker holding an Author-level WordPress account creates or edits a Modula gallery and sets a per-image 'link' field to a 'javascript:' URI, which is preserved verbatim through the save_merged_items() REST handler and normalize_item_row() and only esc_attr()-escaped (not scheme-stripped) when the anchor href is rendered. When another user - potentially an administrator - later views the published page and clicks the poisoned gallery tile, the script executes in their browser session. No public exploit code is identified at time of analysis, though the vulnerable code paths are documented in the Wordfence advisory and plugin source.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 07, 2026

Stored cross-site scripting in the Modula Image Gallery WordPress plugin, affecting all versions up to and including 3.0.17, lets an authenticated user with Author-level capabilities or higher plant a 'javascript:' URL in a gallery image's link field, which is later emitted unmodified into an anchor href and executes when a visitor clicks that gallery tile. Because the payload is persisted in gallery metadata, it can fire for any visitor of the published page, and the CVSS scope change (S:C) reflects that the injection escapes the plugin's own component into the surrounding WordPress page context. Wordfence reported the issue and the vuln.today priority is 'this_month', indicating a moderate, scheduled concern rather than an emergency: there is no CISA KEV entry and no public exploit code identified at time of analysis, and exploitation remains gated on holding a semi-trusted authoring account and on a victim clicking the tampered tile.

RemediationAI

Vendor-released patch: upgrade the Modula Image Gallery plugin to version 3.0.18, which contains the fix for the link-field handling; the diff between the 3.0.17 and 3.0.18 tags is published at https://plugins.trac.wordpress.org/changeset?reponame=&new=3787971%40modula-best-grid-gallery%2Ftags%2F3.0.18&old=3781958%40modula-best-grid-gallery%2Ftags%2F3.0.17 and the advisory is at https://www.wordfence.com/threat-intel/vulnerabilities/id/91d3cbc2-00ca-4384-a52d-84fe2f0328b3?source=cve. No vendor-documented workaround is provided in the available sources, so updating is the complete fix; as a stopgap, sites that cannot patch immediately can reduce exposure by auditing existing galleries for image link values using a 'javascript:' scheme and removing them, and by restricting gallery creation/editing to a smaller set of trusted accounts - the trade-off being that this narrows legitimate editorial workflows rather than removing the underlying defect, and it does not protect against payloads already stored by an existing Author-level account.

Affected VersionsENISA

Modula Image Gallery – Photo Grid & Video Gallery 0 ≤3.0.17

Affected Packages

euvd modula_image_gallery_photo_grid_video_gallery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic stored cross-site scripting (CWE-79) rooted in an input/output sanitization mismatch inside Modula's v2 data pipeline. On the input side, the gallery upload/save path - the save_merged_items() REST handler in includes/v2/rest/class-gallery-upload-controller.php and Images\Adapter::normalize_item_row() in includes/v2/images/class-adapter.php - accepts the per-image 'items' parameter and preserves unknown keys verbatim, so an extra 'link' value survives normalization and is written into gallery metadata by the meta-sync component. On the output side, Modula_Helper::generate_attributes() (includes/core/helpers/class-modula-helper.php) builds the gallery tile's anchor attributes and applies only esc_attr() to the resulting href. esc_attr() is the correct escaping primitive for an HTML attribute context, but it does not perform URL scheme validation, so a 'javascript:' URI passes through intact and becomes an executable link. The correct defense is scheme allow-listing (http/https) in addition to attribute escaping. Per the assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, 6.4), the attack is network-reachable and requires only low privileges, but the independent assessment notes victim interaction is required - the page must be loaded and the injected tile clicked - which the description's UI:N metric does not reflect; impact is limited to low confidentiality and integrity with no availability effect, and the scope change captures the break out of the plugin component into the host page. The precise server-side trigger path beyond the link-field handling is documented in the referenced source files, while conditional rendering paths in the public shortcode item data processor are implicated as the emission point.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Author-level account needed so PR:L; description requires the victim to click the gallery tile so UI:R; stored script runs in another user's browser context so S:C with C:L/I:L and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Modula plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'items' parameter in versions up to, and including, 3.0.17 This is due to insufficient input sanitization of the per-image 'link' field in the save_merged_items() REST handler and Images\Adapter::normalize_item_row(), which preserves unknown keys verbatim, combined with output escaping in Modula_Helper::generate_attributes() that applies only esc_attr() to the resulting anchor href and does not strip the 'javascript:' URL scheme. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page and clicks the gallery tile.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular WordPress gallery plugin, common but not on every site
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy