Severity by source
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L
Requires WordPress admin credentials (PR:H, AV:N); stored payload fires in victim browsers (S:C, UI:R); availability impact omitted as stored XSS does not disrupt service.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
1DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in OceanWP Ocean Product Sharing allows Stored XSS.
This issue affects Ocean Product Sharing: from n/a through 2.2.2.
AnalysisAI
Stored XSS in OceanWP's Ocean Product Sharing WordPress plugin (all versions through 2.2.2) allows administrator-level attackers to persist malicious JavaScript into plugin configuration or product sharing fields. When other authenticated users or site visitors load affected product pages, the injected scripts execute in their browsers, enabling session cookie theft, credential harvesting, or unauthorized UI manipulation. No public exploit code has been identified and no active exploitation is confirmed (not in CISA KEV) at time of analysis; real-world risk is constrained by the PR:H requirement.
Technical ContextAI
Ocean Product Sharing is a WordPress plugin by OceanWP that integrates social sharing buttons and product-sharing functionality into WooCommerce or WordPress product pages. The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the Stored variant: attacker-supplied input is persisted to the WordPress database without adequate sanitization or output encoding, and is then reflected back to all subsequent page visitors as executable script. The affected CPE is cpe:2.3:a:oceanwp:ocean_product_sharing:*:*:*:*:*:*:*:*, encompassing all releases through version 2.2.2. The scope change (S:C in the CVSS vector) is characteristic of Stored XSS, as the payload crosses from the server-side WordPress trust boundary into the victim's browser security context.
RemediationAI
The primary remediation is to update the Ocean Product Sharing plugin to a version beyond 2.2.2. Consult the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/ocean-product-sharing/vulnerability/wordpress-ocean-product-sharing-plugin-2-2-2-cross-site-scripting-xss-vulnerability?_s_id=cve to confirm the exact patched release version, as no specific fix version number was available in the provided data. If an immediate update is not possible, restrict access to the WordPress administrator panel to only fully trusted accounts and enforce strong, unique administrator credentials with MFA. As an additional compensating control, deploying a WAF rule targeting XSS payloads in plugin settings form submissions can reduce injection risk, though this may produce false positives if plugin fields legitimately accept HTML content. Disabling the Ocean Product Sharing plugin entirely until patching is feasible is the most effective temporary mitigation.
The Ocean Extra plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including
includes/wizard/wizard.php in the Ocean Extra plugin through 1.5.8 for WordPress allows unauthenticated options changes
The Ocean Extra WordPress plugin before 2.0.5 unserialises the content of an imported file, which could lead to PHP obje
The Ocean Extra WordPress plugin before 2.1.3 does not ensure that the template to be loaded via a shortcode is actually
The Ocean Extra plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 1.6.5
The OceanWP WordPress theme before 4.1.2 is vulnerable to an option update due to a missing capability check on one of i
Cross-Site Request Forgery (CSRF) vulnerability in Oceanwp sticky header plugin <= 1.0.8 on WordPress. Rated medium seve
The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom fields in all versions up t
The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘twitter_username’ parameter i
The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'oceanwp_icon' shortc
The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ocean_gallery_id’ parameter i
Multiple plugins and/or themes for WordPress are vulnerable to Reflected Cross-Site Scripting via the url parameter in v
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-37870
GHSA-5h7g-227p-mv5r