CVE-2025-8151 Path traversal in HT Mega Addons for Elementor – Elementor Widgets & Template Builder

Medium 4.3 Published Updated

Authenticated attackers with Author access can create or delete CSS files in arbitrary directories on Windows systems via path traversal.

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-2025-8151?

CVE-2025-8151 is a medium-severity path traversal vulnerability in devitemsllc HT Mega Addons for Elementor – Elementor Widgets & Template Builder, published on 31 Jul 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 Path Traversal in all versions up to, and including, 2.9.1 via the 'save_block_css' function. This makes it possible for authenticated attackers, with Author-level access and above, to create CSS files in any directory, and delete CSS files in any directory in a Windows environment.

Weakness: CWE-22

Which versions are affected by CVE-2025-8151?

It affects 1 product.

Products include Hasthemes Ht Mega.

How do I fix CVE-2025-8151?

No fix has been published for CVE-2025-8151 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-8151 being exploited?

There is no known exploitation of CVE-2025-8151 in the wild and no public exploit code.

Sources

Also known as GHSA-75f6-wfq6-jrxm.

Is CVE-2025-8151 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free