# CVE-2021-28428: File upload vulnerability in HorizontCMS before 1.0.0-beta.3 via uploading a .htaccess and .hello files using the Media Files upload functi…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.24%, higher than 70% of CVEs (2026-12-01)
- Published: 2022-04-05T15:37:31.000Z
- Modified: 2026-06-17T03:46:20.220Z
- Weaknesses: CWE-434
- Assigned by: mitre

## Description

File upload vulnerability in HorizontCMS before 1.0.0-beta.3 via uploading a .htaccess and *.hello files using the Media Files upload functionality. The original file upload vulnerability (CVE-2020-27387) was remediated by restricting the PHP extensions; however, we confirmed that the filter was bypassed via uploading an arbitrary .htaccess and *.hello files in order to execute PHP code to gain RCE.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- horizontcms_project horizontcms: 1.0.0

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/ttimot24/HorizontCMS> (product)
- <https://github.com/ttimot24/HorizontCMS/commit/9c4d6827cbe96decec6834d53660e14ab2bf8838> (patch, third-party-advisory)

## Sources

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

---

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