CVE-2025-3458
MEDIUM
5.4
CVSS 3.1
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.
Affected WordPress components
-
Ocean Extra Plugin · ocean-extraUp to and including 2.4.6View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- oceanwp Ocean Extra — Up to and including 2.4.6
- oceanwp ocean_extra — Before 2.4.7
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ocean-extra/tags/2.4.6/includes/metabox/gallery-metabox/gallery-metabox.php#L113 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ocean-extra/tags/2.4.6/includes/metabox/gallery-metabox/gallery-metabox.php#L162 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3277977/ Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/7595a1f6-6923-4102-8efe-a414adebce65?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record