CVE-2022-4740: kkFileView - Reflected XSS
- Cve: CVE-2022-4740
- Name: kkFileView - Reflected XSS
- Description: A vulnerability, which was classified as problematic, has been found in kkFileView. Affected by this issue is the function setWatermarkAttribute of the file /picturesPreview. The manipulation leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-216776.
- Impact: Remote attackers can execute malicious scripts in the context of the victim's browser, leading to potential session hijacking or data theft.
- Remediation: Sanitize and validate all user inputs in setWatermarkAttribute function to prevent script injection.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00584
- Epss percentile: 0.48829
- Assignee: [email protected]
- Published at: 2022-12-25T20:15:26Z
- Age in days: 1430
- Modified at: 2026-06-17T05:21:42Z
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4740
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gitee.com/kekingcn/file-online-preview/issues/I674AC | nvd | 2022-12-25 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://gitee.com/kekingcn/file-online-preview/issues/I674AC | Exploit, Issue Tracking, Third Party Advisory |
| https://vuldb.com/?ctiid.216776 | Third Party Advisory |
| https://vuldb.com/?id.216776 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| keking:kkfileview | all versions | no | nvd | /v1/products/keking/kkfileview |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-12-25
- Remote: yes
- Exposed hosts: 2600
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports