Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-39345: The HAL WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient input validation and

40
This month
MEDIUM 5.5UPGRADE

CVE-2021-39345 is a medium-severity flaw (CVSS 5.5) affecting hal. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The HAL WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient input validation and sanitization via several parameters found in the ~/wp-hal.php file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 2.1.1. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled.

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score5.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededHigh
User interactionNone
EPSS exploit chance1.0% (top 39%)
CISA exploited listNo
WeaknessCWE-79
Published2021-10-15
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: cnrs

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

cnrs hal UPGRADE
Affected: <= 2.1.1
Fixed in: newer than 2.1.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy hal || rpm -q hal || hal --version
2. UPGRADE to newer than 2.1.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade hal
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade hal
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-39345?

hal: upgrade to newer than 2.1.1. Exact commands for each OS are on this page.

Is CVE-2021-39345 being exploited?

CVE-2021-39345 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2021-39345 affect?

CVE-2021-39345 affects hal. Severity is medium (CVSS 5.5). The HAL WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient input validation and sanitization via several parameters found in the ~/wp-hal.php file which allowed attackers with administrative user access to inj

How urgent is CVE-2021-39345?

Priority 40/100. Public exploit reference

Software pages

WordPress vulnerabilities · PHP vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.