Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| brainstormforce / Astra | affected 0 through 4.12.3 |
CWE
CWE-79
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/acf2906b-1ee5-4272-bf6d-36a02023f658?source=cve
- https://themes.trac.wordpress.org/browser/astra/4.12.3/inc/core/common-functions.php#L1640
- https://themes.trac.wordpress.org/browser/astra/4.12.3/inc/core/common-functions.php#L1629
- https://themes.trac.wordpress.org/browser/astra/4.12.3/inc/metabox/class-astra-meta-boxes.php#L1386
- https://themes.trac.wordpress.org/browser/astra/4.12.3/inc/metabox/class-astra-meta-boxes.php#L1380
- https://themes.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=316958%40astra%2F4.12.4&old=312219%40astra%2F4.12.3
ADP enrichment
No English description supplied.
No references supplied.