Descripción
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, including, 4.12.3. This due insufficient input sanitization on registration missing output escaping `astra_get_responsive_background_obj()` function four CSS-context sub-properties (`background-color`, `background-image`, `overlay-color`, `overlay-gradient`). makes it possible authenticated attackers, with Contributor-level access above, inject arbitrary web scripts pages that will execute whenever a user accesses an injected page.
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/core/common-functions.php#L1640
https://themes.trac.wordpress.org/browser/astra/4.12.3/inc/metabox/class-astra-meta-boxes.php#L1380
https://themes.trac.wordpress.org/browser/astra/4.12.3/inc/metabox/class-astra-meta-boxes.php#L1386
https://themes.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=316958 40astra 2F4.12.4&old=312219 40astra 2F4.12.3
https://www.wordfence.com/threat-intel/vulnerabilities/id/acf2906b-1ee5-4272-bf6d-36a02023f658?source=cve