CVE-2025-2540: Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via prettyPhoto JavaScript Library

medium Affects awesome-gallery (WordPress plugin), awesome-wp-image-gallery (WordPress plugin), easy-image-gallery (WordPress plugin), woo-3d-viewer (WordPress plugin), wp-video-lightbox (WordPress plugin). Feed 2026.11.29.4, updated 2026-11-29; published ; advisory modified .

Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via prettyPhoto JavaScript Library

Package
awesome-gallery (WordPress plugin) WordPress
Affected versions
<=1.0
Fixed in
no fix recorded
Severity
medium  CVSS 6.4
Exploitation
not on CISA KEV · EPSS 1% (48.9th percentile)
Published
2025-07-02
Source
Wordfence Intelligence

References

Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via prettyPhoto JavaScript Library

Package
awesome-wp-image-gallery (WordPress plugin) WordPress
Affected versions
<=1.0
Fixed in
no fix recorded
Severity
medium  CVSS 6.4
Exploitation
not on CISA KEV · EPSS 1% (48.9th percentile)
Published
2025-07-02
Source
Wordfence Intelligence

References

Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via prettyPhoto JavaScript Library

Package
easy-image-gallery (WordPress plugin) WordPress
Affected versions
<=1.5.2
Fixed in
1.5.3
Severity
medium  CVSS 6.4
Exploitation
not on CISA KEV · EPSS 1% (48.9th percentile)
Published
2025-07-02
Source
Wordfence Intelligence

References

Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via prettyPhoto JavaScript Library

Package
woo-3d-viewer (WordPress plugin) WordPress
Affected versions
<=1.8.6.6
Fixed in
1.8.6.7
Severity
medium  CVSS 6.4
Exploitation
not on CISA KEV · EPSS 1% (48.9th percentile)
Published
2025-07-02
Source
Wordfence Intelligence

References

Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via prettyPhoto JavaScript Library

Package
wp-video-lightbox (WordPress plugin) WordPress
Affected versions
<=1.9.11
Fixed in
1.9.12
Severity
medium  CVSS 6.4
Exploitation
not on CISA KEV · EPSS 1% (48.9th percentile)
Published
2025-07-02
Source
Wordfence Intelligence

References

Part of this advisory comes from Wordfence Intelligence, used under its terms.
CWE-79
NVD recordawesome-gallery (WordPress plugin) advisoriesawesome-wp-image-gallery (WordPress plugin) advisorieseasy-image-gallery (WordPress plugin) advisorieswoo-3d-viewer (WordPress plugin) advisorieswp-video-lightbox (WordPress plugin) advisories

Quick answers

Is CVE-2025-2540 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today.

Which version fixes CVE-2025-2540?

easy-image-gallery (WordPress plugin): 1.5.3.

How do I check whether I am affected?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories