CVE-2025-2540: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nayon46 Awesome Wp Image Gallery
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.
AI Analysis
Technical Summary
The vulnerability CVE-2025-2540 affects the nayon46 Awesome Wp Image Gallery WordPress plugin through its bundled prettyPhoto library version 3.1.6. It allows stored cross-site scripting due to improper neutralization of input during web page generation, specifically insufficient sanitization and escaping of user-supplied attributes. Authenticated attackers with contributor-level privileges or higher can inject arbitrary scripts that execute in the context of users viewing the injected content. This can lead to limited confidentiality and integrity impacts but no availability impact, as reflected in the CVSS vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages generated by the plugin, which execute when other users access those pages. This can lead to partial confidentiality and integrity compromise, such as session hijacking or unauthorized actions performed in the context of the victim user. There is no direct impact on system availability. No known exploits in the wild have been reported to date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the affected plugin if possible. Monitor for updates from the vendor or WordPress plugin repository regarding patches or mitigations.
CVE-2025-2540: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nayon46 Awesome Wp Image Gallery
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2025-2540 affects the nayon46 Awesome Wp Image Gallery WordPress plugin through its bundled prettyPhoto library version 3.1.6. It allows stored cross-site scripting due to improper neutralization of input during web page generation, specifically insufficient sanitization and escaping of user-supplied attributes. Authenticated attackers with contributor-level privileges or higher can inject arbitrary scripts that execute in the context of users viewing the injected content. This can lead to limited confidentiality and integrity impacts but no availability impact, as reflected in the CVSS vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages generated by the plugin, which execute when other users access those pages. This can lead to partial confidentiality and integrity compromise, such as session hijacking or unauthorized actions performed in the context of the victim user. There is no direct impact on system availability. No known exploits in the wild have been reported to date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the affected plugin if possible. Monitor for updates from the vendor or WordPress plugin repository regarding patches or mitigations.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-03-19T22:12:17.253Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68666bf36f40f0eb72964d6a
Added to database: 7/3/2025, 11:39:31 AM
Last enriched: 4/9/2026, 5:15:23 PM
Last updated: 5/10/2026, 1:49:22 PM
Views: 137
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.