CVE-2026-3534

Astra <= 4.12.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Meta

Published Mar 11, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Astra theme for WordPress is vulnerable to Stored Cross-Site Scripting via the `ast-page-background-meta` and `ast-content-background-meta` post meta fields in all versions up to, and including, 4.12.3. This is due to insufficient input sanitization on meta registration and missing output escaping in the `astra_get_responsive_background_obj()` function for four CSS-context sub-properties (`background-color`, `background-image`, `overlay-color`, `overlay-gradient`). 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 an injected page.

Analysis

AI-generated

Technical impact

Key detail from vendor description: The Astra theme includes a stored cross‑site scripting flaw in the `ast-page-background-meta` and `ast-content-background-meta` post meta fields. The flaw arises from insufficient input sanitization during meta registration and from missing output escaping when rendering four CSS‑context sub‑properties -- background-color, background-image, overlay-color, and overlay-gradient. As a result, an attacker who can edit these fields can inject arbitrary JavaScript. The injected script executes whenever any visitor loads an affected page, enabling actions such as session hijacking, defacement, or other malicious behaviors. The weakness is identified as CWE‑79.

Affected Systems

All installations of WordPress that use the Astra theme and run any version through and including 4.12.3 are susceptible, as the vulnerability exists in every build up to that point. The description specifically notes that the issue is present in "all versions up to, and including, 4.12.3".

Risk and Exploitability

The CVSS score of 6.4 classifies this issue as medium severity. An EPSS score of less than 1% suggests a low likelihood of exploitation in the wild; it is not listed in the CISA KEV catalog. Attackers must first be authenticated with Contributor-level privileges or higher, a role commonly available on multi‑user WordPress sites. Because the vulnerability is stored in post meta, the impact once a payload is injected affects all subsequent users who view the page, leading to potentially wide‑scale compromise of confidentiality, integrity, and availability for site visitors.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Backup your WordPress site and database
  • Check for and install the latest Astra theme version if available (greater than 4.12.3)
  • If an upgrade is not possible, remove or sanitize the `ast-page-background-meta` and `ast-content-background-meta` fields from user‑editable content
  • Consider restricting Contributor users from editing post meta fields that influence background styling
  • Deploy a site‑wide content filtering plugin that sanitizes post meta before rendering

Generated by OpenCVE AI on March 17, 2026 at 17:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Brainstormforce
Brainstormforce astra
Wordpress
Wordpress wordpress
Vendors & Products Brainstormforce
Brainstormforce astra
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Astra theme for WordPress is vulnerable to Stored Cross-Site Scripting via the `ast-page-background-meta` and `ast-content-background-meta` post meta fields in all versions up to, and including, 4.12.3. This is due to insufficient input sanitization on meta registration and missing output escaping in the `astra_get_responsive_background_obj()` function for four CSS-context sub-properties (`background-color`, `background-image`, `overlay-color`, `overlay-gradient`). 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 an injected page.
Title Astra <= 4.12.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Meta
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:14 PM
Reserved
Mar 4, 2026, 5:29 PM
Status
Deferred
Published
Mar 11, 2026, 7:16 AM
Modified
Jun 17, 2026, 10:43 AM