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.
Published: 2026-03-11
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS)
Action: Patch Now
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 12 Mar 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Brainstormforce
Brainstormforce astra
Wordpress
Wordpress wordpress
Vendors & Products Brainstormforce
Brainstormforce astra
Wordpress
Wordpress wordpress

Wed, 11 Mar 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 11 Mar 2026 07:00:00 +0000

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'}


Subscriptions

Brainstormforce Astra
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-03-11T14:00:35.014Z

Reserved: 2026-03-04T17:29:25.810Z

Link: CVE-2026-3534

cve-icon Vulnrichment

Updated: 2026-03-11T14:00:31.843Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-11T07:16:45.213

Modified: 2026-03-11T13:52:47.683

Link: CVE-2026-3534

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-20T14:37:39Z

Weaknesses