# CVE-2024-1277: Ocean Extra <= 2.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 45% of CVEs (2026-11-30)
- Published: 2024-02-20T18:56:31.459Z
- Modified: 2026-06-17T07:03:52.533Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom fields in all versions up to, and including, 2.2.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor access or higher, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

(As written by CVE List.)

## Affected

- oceanwp Ocean Extra: up to 2.2.4
- oceanwp ocean_extra: before 2.2.5

## Every score

- Wordfence: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/5458e3bf-fd91-4201-8157-572eb1126aaf?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/ocean-extra/trunk/includes/post-settings/apply-settings.php#L750> (product)
- <https://plugins.trac.wordpress.org/browser/ocean-extra/trunk/includes/post-settings/apply-settings.php#L756> (product)
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3035534%40ocean-extra%2Ftrunk&old=3008053%40ocean-extra%2Ftrunk&sfp_email=&sfph_mail=> (patch)

## Sources

- CVE List: [CVE-2024-1277](https://www.cve.org/CVERecord?id=CVE-2024-1277), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-1277](https://nvd.nist.gov/vuln/detail/CVE-2024-1277), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-1277 · Whole record: https://cve.day/CVE-2024-1277.json · Rebuilt by cve.day 2026-11-25T22:58:37.140Z
