CVE-2025-2540
Last modified
CVE-2025-2540 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. Multiple plugins for WordPress are vulnerable to Stored Cross-Site Scripting via the plugin's bundled prettyPhoto library (version 3.1.6) in various versions 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.. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
Multiple plugins for WordPress are vulnerable to Stored Cross-Site Scripting via the plugin's bundled prettyPhoto library (version 3.1.6) in various versions 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-2540?
How severe is CVE-2025-2540?
How do I fix CVE-2025-2540?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-25381Incorrect access control in the KSRTC AWATAR app of Karnatak…7.5
- CVE-2025-25382An issue in the Property Tax Payment Portal in Information K…7.5
- CVE-2025-25387A SQL Injection vulnerability was found in /admin/manage-pro…7.2
- CVE-2025-25388A SQL Injection vulnerability was found in /admin/edit-prope…9.8
- CVE-2025-25389A SQL Injection vulnerability was found in /admin/forgot-pas…9.8
- CVE-2025-2539The File Away plugin for WordPress is vulnerable to unauthor…7.5
- CVE-2025-25403Slims (Senayan Library Management Systems) 9 Bulian V9.6.1 i…9.8
- CVE-2025-2541The WP Project Manager plugin for WordPress is vulnerable to…5.4
- CVE-2025-2542The Your Simple SVG Support plugin for WordPress is vulnerab…6.4
- CVE-2025-25426yshopmall <=v1.9.0 is vulnerable to SQL Injection in the ima…7.2
- CVE-2025-25427A stored cross-site scripting (XSS) vulnerability in the upn…5.4
- CVE-2025-25428TRENDnet TEW-929DRU 1.0.0.10 was discovered to contain a har…8
Are you affected by CVE-2025-2540?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
