CVE-2026-4804
Last modified
CVE-2026-4804 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. The Zakra theme for WordPress is vulnerable to Stored Cross-Site Scripting via post meta values in all versions up to, and including, 4.2.0. This is due to the theme registering three post meta fields (zakra_menu_item_color, zakra_menu_item_hover_color, and zakra_menu_item_active_color) with 'show_in_rest' => true and 'auth_callback' => '__return_true', but without any sanitize_callback parameter in the register_post_meta() calls. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
The Zakra theme for WordPress is vulnerable to Stored Cross-Site Scripting via post meta values in all versions up to, and including, 4.2.0. This is due to the theme registering three post meta fields (zakra_menu_item_color, zakra_menu_item_hover_color, and zakra_menu_item_active_color) with 'show_in_rest' => true and 'auth_callback' => '__return_true', but without any sanitize_callback parameter in the register_post_meta() calls. While the classic editor save path applies sanitize_hex_color() sanitization, the REST API path completely bypasses this protection. The unsanitized meta values are then retrieved via get_post_meta() and concatenated directly into CSS strings that are output through wp_add_inline_style() without any 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 the injected page.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| themegrill | Zakra | <= 4.2.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4804?
How severe is CVE-2026-4804?
How do I fix CVE-2026-4804?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-48034Hulumi is an open-source toolkit that ships secure-by-defaul…8.5
- CVE-2026-48035Hulumi is an open-source toolkit that ships secure-by-defaul…7.1
- CVE-2026-48036Hulumi is an open-source toolkit that ships secure-by-defaul…8.4
- CVE-2026-48037Hulumi is an open-source toolkit that ships secure-by-defaul…6.3
- CVE-2026-48038joi is a schema description language and data validator for …5.3
- CVE-2026-48039Meta Ads MCP is a Model Context Protocol (MCP) server that l…9.1
- CVE-2026-48040The netty incubator codec.bhttp is a java language binary ht…9.1
- CVE-2026-48042Envoy is an open source edge and service proxy designed for …7.5
- CVE-2026-48043Netty is a network application framework for development of …7.5
- CVE-2026-48044Envoy is an open source edge and service proxy designed for …7.5
- CVE-2026-48045Zeroconf is a pure Python implementation of multicast DNS se…6.5
- CVE-2026-48046Streambert is a cross-platform Electron Desktop App to strea…9.3
Are you affected by CVE-2026-4804?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
