CVE-2025-13612

Album and Image Gallery Plus Lightbox <= 2.1.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via Plugin's Shortcode

Published Feb 19, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Album and Image Gallery plus Lightbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `aigpl-gallery-album` shortcode in all versions up to, and including, 2.1.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Analysis

AI-generated

Technical impact

The Album and Image Gallery Plus Lightbox plugin is vulnerable to Stored Cross‑Site Scripting. An attacker with contributor level or higher can inject arbitrary JavaScript through the aigpl-gallery-album shortcode because the plugin does not sanitize user‑supplied attributes. When an affected page is viewed, the injected script runs in the victim’s browser, enabling actions such as cookie theft, session hijacking, defacement, or the execution of additional malicious payloads.

Affected Systems

Affected vendors and products are essentialplugin's Album and Image Gallery Plus Lightbox. All releases up to and including version 2.1.7 are vulnerable. The issue manifests when the shortcode is used on WordPress pages or posts by an authenticated user. No other product versions are known to be impacted.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, while the EPSS score of less than 1% suggests that exploitation is currently uncommon. The vulnerability is not listed in the CISA KEV catalog. Because exploitation requires authenticated access at the contributor level, the attack surface is limited to content‑editing users. However, once the attacker injects malicious script, the impact can be substantial, affecting all visitors who later view the compromised page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Album and Image Gallery Plus Lightbox plugin to the latest stable release that removes the input sanitization flaw.
  • If an update is not possible, remove or disable the aigpl-gallery-album shortcode from all posts and pages, and consider restricting contributor users from using shortcodes.
  • Deploy a Web Application Firewall or security plugin such as Wordfence to detect and block XSS payloads until a patch is applied.

Generated by OpenCVE AI on April 21, 2026 at 23:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Essentialplugin
Essentialplugin album And Image Gallery Plus Lightbox
Wordpress
Wordpress wordpress
Vendors & Products Essentialplugin
Essentialplugin album And Image Gallery Plus Lightbox
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The Album and Image Gallery plus Lightbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `aigpl-gallery-album` shortcode in all versions up to, and including, 2.1.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Album and Image Gallery Plus Lightbox <= 2.1.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via Plugin's Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:50 PM
Reserved
Nov 24, 2025, 4:31 PM
Status
Deferred
Published
Feb 19, 2026, 7:17 AM
Modified
Jun 17, 2026, 8:34 AM