CVE-2025-13307 Ocean Modal Window < 2.3.3 - Editor+ Remote Code Execution via Modal Conditions

High 7.2 Published Updated

Editors can achieve remote code execution by injecting malicious code into modal display conditions executed via eval.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-13307?

CVE-2025-13307 is a high-severity code injection vulnerability in Unknown Ocean Modal Window, published on 19 Dec 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Ocean Modal Window WordPress plugin before 2.3.3 is vulnerable to Remote Code Execution via the modal display logic. These modals can be displayed under user-controlled conditions that Editors and Administrators can set (edit_pages capability). The conditions are then executed as part of an eval statement executed on every site page. This leads to remote code execution.

Which versions are affected by CVE-2025-13307?

How do I fix CVE-2025-13307?

No fix has been published for CVE-2025-13307 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-13307 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-13307 exists.

Sources

Also known as GHSA-7vhr-jxp7-33h3.

Is CVE-2025-13307 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free