OceanWP <= 4.0.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Select HTML Tag

4.9
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2025-5524
CVSS 4.9 (Medium)
Publicly Published June 18, 2025
Last Updated June 19, 2025
Researcher Asaf Mozes

Description

The OceanWP theme for WordPress is vulnerable to Stored Cross-Site Scripting via the Select HTML tag in all versions up to, and including, 4.0.9 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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for OceanWP

Software Type Theme
Software Slug oceanwp (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.1.0, or a newer patched version
Affected Version
  • <= 4.0.9
Patched Version
  • 4.1.0

Recent vulnerabilities in OceanWP

# Title CVE ID CVSS Researchers Date
1 OceanWP <= 4.1.1 - Missing Authorization to Authenticated (Subscriber+) Settings Update CVE-2025-8944 4.3 Hamit Cibo August 15, 2025
2 OceanWP <= 4.0.9 - 4.1.1 - Cross-Site Request Forgery to Ocean Extra Plugin Installation CVE-2025-8891 4.3 Dmitrii Ignatyev August 12, 2025
3 Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Magnific Popups JavaScript Library CVE-2024-5647 6.4 Webbernaut July 2, 2025
4 OceanWP <= 3.5.4 - Missing Authorization to Sensitive Information Exposure via Limited Local File Inclusion CVE-2024-2476 4.3 Webbernaut March 28, 2024
5 OceanWP <= 3.4.1 - Authenticated (Subscriber+) Local File Inclusion CVE-2023-23700 8.8 Rafie Muhammad February 27, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation