CVE-2025-3862: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in contest-gallery Photos, Files, YouTube, Twitter, Instagram, TikTok, Ecommerce Contest Gallery – Upload, Vote, Sell via PayPal or Stripe, Social Share Buttons
Contest Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id’ parameter in all versions up to, and including, 26.0.6 due to insufficient input sanitization and output escaping. 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
CVE-2025-3862 is a stored cross-site scripting vulnerability identified in the Contest Gallery plugin for WordPress, which is widely used to manage photo and video contests with social media integration and ecommerce capabilities. The vulnerability stems from improper neutralization of input during web page generation, specifically through the 'id' parameter. This parameter is insufficiently sanitized and escaped, allowing authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the injected scripts are stored persistently, they execute in the context of any user who accesses the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability affects all versions up to and including 26.0.6. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches or fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability is classified under CWE-79, indicating improper neutralization of input leading to cross-site scripting. Given the plugin’s integration with multiple social media platforms and ecommerce payment options, exploitation could facilitate broader attacks such as phishing, credential theft, or fraudulent transactions.
Potential Impact
The impact of CVE-2025-3862 can be significant for organizations using the Contest Gallery plugin on WordPress sites. Successful exploitation allows attackers with contributor-level access to inject persistent malicious scripts, which execute in the browsers of any visitors to the infected pages. This can lead to session hijacking, theft of sensitive user data, defacement of websites, and unauthorized actions performed with victim user privileges. For ecommerce-enabled contest galleries, attackers might manipulate transaction flows or social sharing features to spread malware or phishing links. The compromise of user trust and potential data breaches can result in reputational damage, regulatory penalties, and financial losses. Since the vulnerability requires authentication, the risk is somewhat mitigated by access controls, but insider threats or compromised contributor accounts increase exposure. The broad usage of WordPress and the plugin’s social media integrations mean that a wide range of organizations, from small businesses to large enterprises, could be affected globally.
Mitigation Recommendations
To mitigate CVE-2025-3862, organizations should first check for and apply any official patches or updates from the Contest Gallery plugin vendor as soon as they become available. In the absence of patches, administrators should restrict Contributor-level access strictly to trusted users and review existing user permissions to minimize risk. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script injections targeting the 'id' parameter can provide interim protection. Additionally, site owners should audit existing content for injected scripts and remove any suspicious entries. Employing Content Security Policy (CSP) headers can help limit the impact of injected scripts by restricting script sources. Regular security scanning and monitoring for anomalous behavior or unauthorized content changes are recommended. Educating contributors about secure input handling and monitoring user activity can further reduce exploitation likelihood. Finally, consider disabling or replacing the plugin if timely patches are unavailable and the risk is unacceptable.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, France, India, Brazil, Japan, Netherlands, Italy, Spain
CVE-2025-3862: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in contest-gallery Photos, Files, YouTube, Twitter, Instagram, TikTok, Ecommerce Contest Gallery – Upload, Vote, Sell via PayPal or Stripe, Social Share Buttons
Description
Contest Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id’ parameter in all versions up to, and including, 26.0.6 due to insufficient input sanitization and output escaping. 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
CVE-2025-3862 is a stored cross-site scripting vulnerability identified in the Contest Gallery plugin for WordPress, which is widely used to manage photo and video contests with social media integration and ecommerce capabilities. The vulnerability stems from improper neutralization of input during web page generation, specifically through the 'id' parameter. This parameter is insufficiently sanitized and escaped, allowing authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the injected scripts are stored persistently, they execute in the context of any user who accesses the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability affects all versions up to and including 26.0.6. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches or fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability is classified under CWE-79, indicating improper neutralization of input leading to cross-site scripting. Given the plugin’s integration with multiple social media platforms and ecommerce payment options, exploitation could facilitate broader attacks such as phishing, credential theft, or fraudulent transactions.
Potential Impact
The impact of CVE-2025-3862 can be significant for organizations using the Contest Gallery plugin on WordPress sites. Successful exploitation allows attackers with contributor-level access to inject persistent malicious scripts, which execute in the browsers of any visitors to the infected pages. This can lead to session hijacking, theft of sensitive user data, defacement of websites, and unauthorized actions performed with victim user privileges. For ecommerce-enabled contest galleries, attackers might manipulate transaction flows or social sharing features to spread malware or phishing links. The compromise of user trust and potential data breaches can result in reputational damage, regulatory penalties, and financial losses. Since the vulnerability requires authentication, the risk is somewhat mitigated by access controls, but insider threats or compromised contributor accounts increase exposure. The broad usage of WordPress and the plugin’s social media integrations mean that a wide range of organizations, from small businesses to large enterprises, could be affected globally.
Mitigation Recommendations
To mitigate CVE-2025-3862, organizations should first check for and apply any official patches or updates from the Contest Gallery plugin vendor as soon as they become available. In the absence of patches, administrators should restrict Contributor-level access strictly to trusted users and review existing user permissions to minimize risk. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script injections targeting the 'id' parameter can provide interim protection. Additionally, site owners should audit existing content for injected scripts and remove any suspicious entries. Employing Content Security Policy (CSP) headers can help limit the impact of injected scripts by restricting script sources. Regular security scanning and monitoring for anomalous behavior or unauthorized content changes are recommended. Educating contributors about secure input handling and monitoring user activity can further reduce exploitation likelihood. Finally, consider disabling or replacing the plugin if timely patches are unavailable and the risk is unacceptable.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-04-21T18:09:27.987Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682d9819c4522896dcbd8634
Added to database: 5/21/2025, 9:08:41 AM
Last enriched: 2/27/2026, 1:57:10 PM
Last updated: 3/25/2026, 4:40:30 AM
Views: 77
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.