# CVE-2022-4740: kkFileView picturesPreview setWatermarkAttribute cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/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.62%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-25T19:33:31.755Z
- Modified: 2026-06-17T05:21:42.270Z
- Weaknesses: CWE-79
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- kkFileView: n/a
- keking kkfileview: no versions given

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/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`

## References

- <https://gitee.com/kekingcn/file-online-preview/issues/I674AC> (exploit, issue-tracking, third-party-advisory)
- <https://vuldb.com/?id.216776> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.216776> (permissions-required, signature, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2022-4740 · Whole record: https://cve.day/CVE-2022-4740.json · Rebuilt by cve.day 2026-11-25T22:58:17.868Z
