Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Medium · 4.8 WordPress CVE-2026-134136

Stored XSS in OceanWP WordPress Theme Before 4.2.9 (CVE-2026-134136)

A stored cross-site scripting vulnerability in the OceanWP WordPress theme allows authenticated users with Easy Digital Downloads category creation permissions to inject malicious JavaScript via an unescaped title attribute. A fix is available in version 4.2.9.

By PatchBriefing ·

Produced automatically from official sources with the help of AI. How we work →

Synthesized by AI from 3 sources · updated 2 days ago

AI summary

A stored cross-site scripting vulnerability has been identified in the OceanWP WordPress theme, tracked as CVE-2026-134136. The issue affects versions before 4.2.9 and stems from improper escaping of user-supplied category names used by the Easy Digital Downloads (EDD) integration. A fixed version is available.

What happened

A stored cross-site scripting vulnerability was found in the OceanWP WordPress theme. The flaw is located in the oceanwp_edd_terms_list() function in inc/edd/edd-helpers.php, which fails to properly escape an HTML title attribute. An authenticated user with permission to create Easy Digital Downloads (EDD) category names can craft a category name that breaks out of this attribute and inserts an event-handler payload. The malicious code executes in the browser of visitors who interact with the affected category link on the public EDD archive page.

Technical cause

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, also known as Cross-site Scripting). The root cause is that the oceanwp_edd_terms_list() function outputs an EDD download category name inside an HTML title attribute without proper escaping. A specially crafted category name can therefore close the attribute early and introduce additional HTML attributes, including JavaScript event handlers, that execute when a visitor interacts with the category link.

Why it matters

If an administrator views the public EDD archive page while authenticated, the injected script runs in the context of their session, potentially allowing the attacker to perform actions on the administrator's behalf or compromise the session. This is reflected in the CVSS vector, which records a scope change (S:C) and limited confidentiality and integrity impact (C:L/I:L), consistent with a session-hijacking style of attack rather than full server compromise.

Who is affected

Sites running the OceanWP theme in versions before 4.2.9 are affected, specifically those using the Easy Digital Downloads integration where users other than fully trusted administrators have permission to create EDD download categories. Exploitation requires an authenticated account with this specific permission (PR:H) and requires a victim, typically an administrator, to interact with the crafted category link (UI:R).

Affected versions

All OceanWP versions before 4.2.9 are affected. The vulnerability is fixed in version 4.2.9.

Fixes and mitigation

A fix is available in OceanWP version 4.2.9. Site owners should update the theme to this version to remediate the vulnerability.

Recommended action

Update OceanWP to version 4.2.9 as soon as possible. In the interim, site administrators should restrict the ability to create Easy Digital Downloads categories to fully trusted accounts and avoid browsing the public EDD archive page while logged in with an administrative session.

PatchBriefing score

4.8 / 10 · Medium

Official CVSS: 4.8

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

EPSS 0.0031 (16 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

OceanWP < 4.2.9
vulnerable
≥ 4.2.9
patched

Reported fixes

A fix is available in OceanWP version 4.2.9. Site owners should update the theme to this version to remediate the vulnerability.

How this was built

3 source records were collected, matched and used to prepare the report above.

  • NVD (NIST) database
  • WPVulnerability database
  • CVE.org database
Unified report
Stored XSS in OceanWP WordPress Theme Before 4.2.9 (CVE-2026-134136)
1 article · 3 sources cited
Revision history
  1. Published
  2. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email