CVE-2026-137137
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| metaslider | metaslider_gallery_image_gallery_lightbox_galleries_modal_windows | {"endIncluding":"2.39.0"} | |
References
- https://plugins.trac.wordpress.org/browser/ml-slider-lightbox/tags/2.39.0/assets/js/lightgallery.min.js#L8
- https://plugins.trac.wordpress.org/browser/ml-slider-lightbox/tags/2.39.0/assets/js/ml-lightgallery-init.js#L2490
- https://plugins.trac.wordpress.org/browser/ml-slider-lightbox/tags/2.39.0/assets/js/ml-lightgallery-init.js#L845
- https://plugins.trac.wordpress.org/browser/ml-slider-lightbox/tags/2.39.0/class-ml-slider-lightbox.php#L639
- https://plugins.trac.wordpress.org/changeset/3842986
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3842986%40ml-slider-lightbox%2Ftags%2F2.39.1&old=3812391%40ml-slider-lightbox%2Ftags%2F2.39.0
- https://www.wordfence.com/threat-intel/vulnerabilities/id/4d14a3d7-c721-40d9-90ac-451366744ca9?source=cve
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.