Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Author-level WordPress account
-
DeliveryInject javascript: URI into gallery image link field
-
ExploitSave via Modula REST handler stores payload
-
ExecutionVictim opens published gallery page
-
PersistVictim clicks poisoned gallery tile
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-119155
GHSA-g6pv-q7rc-97m5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB