CVE-2026-137137: MetaSlider Gallery <= 2.39.0 - Unauthenticated Stored DOM-Based Cross-Site Scripting via Comment Anchor href
The MetaSlider Gallery – Image Gallery, Lightbox Galleries, Video Galleries plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 2.39.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit path is active on a stock install because the 'Override Link to Image File' feature is enabled by default; a first comment from a new email address requires administrator approval, but every subsequent comment from the same email is auto-published, making the injection immediately live without further interaction beyond a victim clicking the rigged image link. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Affected Software
Event History
Frequently Asked Questions
Is a default installation affected?
Yes. The exploit path is active on a stock installation because the “Override Link to Image File” feature is enabled by default.
What does an attacker need to do to make an injected payload live?
An attacker can submit the malicious value through the comment parameter without authentication. A first comment from a new email address requires administrator approval; subsequent comments from that same email address are automatically published.
Does exploitation require administrator involvement?
Yes. Successful exploitation additionally requires an administrator action, and the attacker cannot trigger the vulnerability independently. The injected script executes when a user accesses an injected page and clicks the rigged image link.
Who is exposed to the injected script?
Users who access a page containing the injected content and click the rigged image link may execute the attacker-controlled script in their browser. The impact includes low confidentiality and integrity effects, with no availability impact indicated.