Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-3458: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in oceanwp Ocean Extra

0
Medium
VulnerabilityCVE-2025-3458cvecve-2025-3458cwe-79
Published: Tue Apr 22 2025 (04/22/2025, 11:12:21 UTC)
Source: CVE
Vendor/Project: oceanwp
Product: Ocean Extra

Description

The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ocean_gallery_id’ parameter in all versions up to, and including, 2.4.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. The Classic Editor plugin must be installed and activated to exploit the vulnerability.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 13:34:16 UTC

Technical Analysis

CVE-2025-3458 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Ocean Extra plugin for WordPress, specifically in all versions up to and including 2.4.6. The vulnerability stems from improper neutralization of input during web page generation, classified under CWE-79. The flaw exists in the handling of the 'ocean_gallery_id' parameter, where insufficient input sanitization and output escaping allow an authenticated attacker with Contributor-level or higher privileges to inject arbitrary JavaScript code into pages. This malicious script is stored persistently and executes whenever any user accesses the compromised page, potentially leading to session hijacking, privilege escalation, or other malicious activities. Notably, exploitation requires the Classic Editor plugin to be installed and active, as it likely affects how content is processed or rendered. 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. There are no known exploits in the wild at the time of disclosure. The vulnerability was reserved and published in April 2025 and has been enriched by CISA, indicating recognition by US cybersecurity authorities. No official patches are linked yet, so mitigation may require manual intervention or disabling affected features until updates are available.

Potential Impact

This vulnerability poses a significant risk to organizations running WordPress sites with the Ocean Extra plugin, especially those allowing Contributor-level users to create or edit content. Successful exploitation can lead to the injection of malicious scripts that execute in the context of site visitors or administrators, potentially resulting in session hijacking, theft of sensitive information, unauthorized actions on behalf of users, or site defacement. The requirement for authenticated access limits exposure but does not eliminate risk, as Contributor-level accounts are common in multi-user environments. The dependency on the Classic Editor plugin narrows the affected population but still represents a large subset of WordPress users who prefer or require the classic editing experience. The scope change in the CVSS vector indicates that the vulnerability can affect resources beyond the initially compromised component, increasing the potential impact. Organizations with high-traffic or sensitive WordPress sites could face reputational damage, data breaches, or operational disruptions if exploited. The absence of known exploits in the wild suggests a window for proactive mitigation but also means attackers may develop exploits soon after disclosure.

Mitigation Recommendations

Organizations should immediately assess their WordPress environments for the presence of the Ocean Extra plugin and verify the version in use. If the Classic Editor plugin is installed and activated, the risk is heightened. Until an official patch is released, administrators should consider temporarily disabling the Ocean Extra plugin or restricting Contributor-level user permissions to prevent content injection. Implementing a Web Application Firewall (WAF) with rules to detect and block suspicious input patterns related to 'ocean_gallery_id' parameters can provide interim protection. Additionally, enforcing strict Content Security Policy (CSP) headers can help mitigate the impact of injected scripts by restricting script execution sources. Regularly auditing user roles and permissions to minimize unnecessary Contributor-level access reduces the attack surface. Monitoring logs for unusual activity or content changes can aid in early detection of exploitation attempts. Once a patch becomes available, prompt application is critical. Finally, educating content creators and administrators about the risks of XSS and safe content practices will support overall security posture.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-04-08T22:36:29.084Z
Cisa Enriched
true

Threat ID: 682d984ac4522896dcbf76d3

Added to database: 5/21/2025, 9:09:30 AM

Last enriched: 2/27/2026, 1:34:16 PM

Last updated: 3/24/2026, 8:40:24 PM

Views: 68

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses