CVE-2024-12597 HT Mega <= 2.7.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via block_css and inner_css
Authenticated attackers with Contributor access can inject arbitrary scripts via CSS parameters, leading to stored XSS execution on victim pages.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12597?
CVE-2024-12597 is a medium-severity cross-site scripting vulnerability in devitemsllc HT Mega Addons for Elementor – Elementor Widgets & Template Builder, published on 4 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The HT Mega – Absolute Addons For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'block_css' and 'inner_css' parameters in all versions up to, and including, 2.7.6 due to insufficient input sanitization and output 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 an injected page.
Weakness: CWE-79
Which versions are affected by CVE-2024-12597?
It affects 1 product.
Products include Hasthemes Ht Mega.
How do I fix CVE-2024-12597?
No fix has been published for CVE-2024-12597 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-12597 being exploited?
There is no known exploitation of CVE-2024-12597 in the wild and no public exploit code.
Other vulnerabilities in devitemsllc HT Mega Addons for Elementor – Elementor Widgets & Template Builder
- CVE-2023-37999 WordPress HT Mega Absolute Addons for Elementor plugin <= 2.2.0 - Unauthenticated Privilege Escalation vulnerability
- CVE-2024-1974 HT Mega – Absolute Addons For Elementor <= 2.4.5 - Authenticated (Contributor+) Directory Traversal
- CVE-2023-6214 HT Mega – Absolute Addons For Elementor <= 2.4.6 - Sensitive Information Exposure via purchased_products
- CVE-2023-50901 WordPress HT Mega Plugin <= 2.3.8 is vulnerable to Cross Site Scripting (XSS)
- CVE-2024-38706 WordPress HT Mega plugin <= 2.5.7 - JSON Path Traversal vulnerability
Sources
Also known as GHSA-cq9j-gc99-j3w6.