CVE-2023-1259
Hotjar vulnerability
The Hotjar plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the hotjar_site_id in versions up to, and including, 1.0.15 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Affected products
Hotjar. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hotjar runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.wordfence.com/threat-intel/vulnerabilities/id/9c640bcb-b6bf-4865-b713-32ca846e4ed9?sou · Third Party Advisory
- plugins.trac.wordpress.org/browser/hotjar/tags/1.0.14/includes/class-hotjar.php#L40 · Exploit
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2983524%40hotjar&
- nvd.nist.gov/vuln/detail/CVE-2023-1259
- cve.org/CVERecord?id=CVE-2023-1259
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.