CVE-2025-2540
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2025-07-03

Last updated on: 2026-04-08

Assigner: Wordfence

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-03
Last Modified
2026-04-08
Generated
2026-05-07
AI Q&A
2025-07-03
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability affects multiple WordPress plugins that use the bundled prettyPhoto library version 3.1.6. Due to insufficient input sanitization and output escaping on user-supplied attributes, authenticated users with contributor-level access or higher can inject arbitrary web scripts (Stored Cross-Site Scripting) into pages. These scripts execute whenever any user accesses the injected page.


How can this vulnerability impact me? :

The vulnerability allows attackers with contributor-level access or higher to inject malicious scripts into web pages. This can lead to unauthorized actions such as stealing user credentials, hijacking user sessions, defacing websites, or spreading malware to visitors, potentially compromising the security and integrity of the affected WordPress site.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart