# CVE-2019-14315: SunHater KCFinder cross-site scripting (XSS) vulnerability in upload.php

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): 1.24%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-07-28T00:23:02.000Z
- Modified: 2026-06-17T02:18:11.457Z
- Also known as: GHSA-vwh5-78jc-hpjx
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

A cross-site scripting (XSS) vulnerability in upload.php in SunHater KCFinder 3.20-test1, 3.20-test2, 3.12, and earlier allows remote attackers to inject arbitrary web script or HTML via the CKEditorFuncNum parameter.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sunhater/kcfinder (Packagist): up to 3.20-test2
- sunhater kcfinder: up to 3.12; 3.20

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/sunhater/kcfinder/issues/180> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-14315> (advisory)
- <https://github.com/sunhater/kcfinder/pull/186> (web)
- <https://github.com/sunhater/kcfinder> (package)

## Sources

- CVE List: [CVE-2019-14315](https://www.cve.org/CVERecord?id=CVE-2019-14315), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-vwh5-78jc-hpjx](https://github.com/advisories/GHSA-vwh5-78jc-hpjx), CC-BY-4.0, modified 2024-04-24
- NVD: [CVE-2019-14315](https://nvd.nist.gov/vuln/detail/CVE-2019-14315), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-14315 · Whole record: https://cve.day/CVE-2019-14315.json · Rebuilt by cve.day 2026-11-25T22:57:46.243Z
