5.5medium
HAL <= 2.1.1 Authenticated Stored Cross-Site Scripting
- Severity
- 5.5medium CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.95% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| HAL HAL | from 2.1.1 up to 2.1.1 | CVE List |
| cnrs hal | up to 2.1.1 | NVD |
All scores
| Wordfence | 5.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N |
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.1low CVSS:2.0 | AV:N/AC:H/Au:S/C:N/I:P/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El plugin HAL de WordPress es vulnerable a un ataque de tipo Cross-Site Scripting Almacenado debido a una comprobación insuficiente y saneamiento de entradas por medio de diversos parámetros encontrados en el archivo ~/wp-hal.php que permitían a atacantes con acceso de usuario administrativo inyectar scripts web arbitrarios, en versiones hasta la 2.1.1 incluyéndola. Esto afecta a las instalaciones multi-sitio en las que unfiltered_html está deshabilitado para los administradores, y a los sitios en los que unfiltered_html está deshabilitado
References
| https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39345 | third-party-advisory | |
| https://github.com/BigTiger2020/word-press/blob/main/HAL.md | exploit, 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39345 changed 2025-03-31 | CVE Terms of Use |
| NVD | CVE-2021-39345 changed 2026-06-17 | Public domain |