CVE-2025-2779 Missing authorization in Insert Headers and Footers Code – HT Script
Authenticated subscribers can modify plugin options due to missing capability checks, potentially causing site errors or enabling registration.
- 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-2779?
CVE-2025-2779 is a medium-severity missing authorization vulnerability in htplugins Insert Headers and Footers Code – HT Script, published on 2 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Insert Headers and Footers Code – HT Script plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the ajax_dismiss function in all versions up to, and including, 1.1.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to update option values to 1/true on the WordPress site. This can be leveraged to update an option that would create an error on the site and deny access to legitimate users or be used to set some values to true, such as registration.
Weakness: CWE-862
Which versions are affected by CVE-2025-2779?
How do I fix CVE-2025-2779?
No fix has been published for CVE-2025-2779 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-2779 being exploited?
There is no known exploitation of CVE-2025-2779 in the wild and no public exploit code.
Sources
Also known as GHSA-9g53-92w9-464m.