Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain WordPress admin credentials via phishing or credential stuffing
-
DeliveryAuthenticate to WordPress admin panel
-
ExploitInject XSS payload into Ocean Product Sharing plugin configuration field
-
InstallPayload persisted to WordPress database
-
C2Victim user loads a product page rendering the plugin's sharing widget
-
ExecuteStored script executes in victim's browser
-
ImpactSession token exfiltrated or further browser-based exploitation performed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold WordPress administrator-level privileges (PR:H confirmed by CVSS vector), meaning the Ocean Product Sharing plugin settings interface must be accessible to the attacker - this is a non-default condition for external threat actors and limits exploitation to scenarios involving compromised admin accounts, insider threats, or prior privilege escalation. The Ocean Product Sharing plugin must be installed and active on the target site. Additionally, victim user interaction is required (UI:R per CVSS): at least one other user must load a product page where the plugin renders the stored payload before impact occurs. Unauthenticated remote attackers cannot directly exploit this vulnerability. The scope change (S:C) means the post-exploitation impact extends to victims' browsers rather than the WordPress server itself. |
| Impact | The NVD CVSS base score of 5.9 (Medium) accurately reflects the constrained exploitability profile. The PR:H metric is the most significant limiting factor: a threat actor must already possess WordPress administrator-level credentials to inject the payload, meaning the attacker pool is restricted to compromised admin accounts, rogue co-administrators, or privilege escalation chains. The AV:N and AC:L metrics indicate the attack is trivially easy to execute once credentials are available. The scope change (S:C) with C:L and I:L impacts reflects meaningful downstream risk to end users whose browsers execute the payload. EPSS data was not provided in the available intelligence, preventing probabilistic exploitation likelihood assessment. The absence from CISA KEV and lack of identified POC further suggest opportunistic or targeted use rather than widespread automated exploitation. In multi-tenant WordPress environments or managed hosting with multiple admin users, the risk profile is elevated compared to single-owner sites where all admins are fully trusted. |
| Exploit ScenarioDerived | A threat actor who has compromised a WordPress administrator account (or is a malicious co-admin) navigates to the Ocean Product Sharing plugin settings page and injects a JavaScript payload such as a cookie-stealing script into a configuration field that lacks proper sanitization. When a site visitor or authenticated user subsequently loads a product page where the plugin's sharing widget is rendered, the stored payload executes silently in their browser, exfiltrating session tokens to an attacker-controlled endpoint. No public POC exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Oceanwp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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
Stored cross-site scripting in the OceanWP "Ocean Pro Demos" (up to and including 1.5.4) and "Ocean eComm Treasure Box"
Reflected cross-site scripting in the OceanWP WordPress theme through version 4.2.7 allows an attacker to craft a link o
Unauthenticated shortcode injection in the Ocean Extra plugin for WordPress (all versions up to and including 2.6.0) let
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
EUVD-2026-37870
GHSA-5h7g-227p-mv5r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB