# CVE-2021-39345: HAL <= 2.1.1 Authenticated Stored Cross-Site Scripting

- Severity: Medium 5.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-15T12:15:35.349Z
- Modified: 2026-06-17T04:03:35.407Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- HAL HAL: from 2.1.1 up to 2.1.1
- cnrs hal: up to 2.1.1

## Every score

- Wordfence: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:N/AC:H/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/BigTiger2020/word-press/blob/main/HAL.md> (exploit, third-party-advisory)
- <https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39345> (third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2614075%40hal&new=2614075%40hal&sfp_email=&sfph_mail=> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-39345](https://www.cve.org/CVERecord?id=CVE-2021-39345), CVE Terms of Use, modified 2025-03-31
- NVD: [CVE-2021-39345](https://nvd.nist.gov/vuln/detail/CVE-2021-39345), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39345 · Whole record: https://cve.day/CVE-2021-39345.json · Rebuilt by cve.day 2026-11-25T22:58:04.508Z
