PT-2026-55517 · WordPress · Zakra

CVE-2026-4804

·

Published

2026-07-03

·

Updated

2026-07-06

CVSS v3.1

6.4

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Zakra versions prior to 4.2.1
Description The Zakra theme for WordPress contains a Stored Cross-Site Scripting issue. This occurs because the theme registers three post meta fields—zakra menu item color, zakra menu item hover color, and zakra menu item active color—with the REST API enabled and an authentication callback that returns true, but lacks a sanitize callback parameter in the register post meta() function. While the classic editor uses sanitize hex color() for sanitization, the REST API path bypasses this protection. The unsanitized values are retrieved via get post meta() and concatenated into CSS strings output through wp add inline style() without escaping. Consequently, authenticated attackers with Contributor-level access or higher can inject arbitrary web scripts into pages that execute when accessed by users.
Recommendations Update to a version newer than 4.2.0.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-4804

Affected Products

Zakra