# Ocean Extra <= 2.6.3 - Authenticated (Author+) Stored Cross-Site Scripting via Recent Posts Widget Post Title

- **ID:** WPSEC-2026-3679
- **Plugin:** Ocean Extra (`ocean-extra`), https://wordpress.org/plugins/ocean-extra/
- **Affected versions:** from 1.2.0 before 2.6.4
- **Fixed in:** 2.6.4 (Update to 2.6.4 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ocean-extra
- **Fix released:** 2026-11-20
- **Published:** 2026-11-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3679/

## Description

The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post titles displayed in the Recent Posts widget in all versions up to, and including, 2.6.3 due to insufficient output escaping. The widget printed post titles with the_title() inside the title attribute of the thumbnail link without escaping, so a title containing quoted attribute values in allowed inline markup can break out of the attribute and inject event handler attributes. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts that execute whenever a user views a page displaying the widget.

## References

- https://wpsec.com/vuln/WPSEC-2026-3679/
- https://plugins.svn.wordpress.org/ocean-extra/tags/2.6.4/
- https://wordpress.org/plugins/ocean-extra/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3679/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
