CVE-2018-5651: WordPress Dark-Mode Plugin - Reflected XSS
- Cve: CVE-2018-5651
- Name: WordPress Dark-Mode Plugin - Reflected XSS
- Description: An issue was discovered in the dark-mode plugin 1.6 for WordPress. XSS exists via the wp-admin/profile.php dark_mode_start parameter.
- Impact: Attackers can execute arbitrary scripts in the admin's browser, potentially leading to session hijacking or defacement.
- Remediation: Sanitize and validate the dark_mode_start parameter in the plugin code, and update to the latest version if available.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim must visit a malicious link
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00643
- Epss percentile: 0.5177
- Assignee: [email protected]
- Published at: 2018-01-13T00:29:00Z
- Age in days: 3237
- Modified at: 2026-06-17T02:00:31Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-5651
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/d4wner/Vulnerabilities-Report/blob/master/dark-mode.md | nvd | 2018-01-13 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/d4wner/Vulnerabilities-Report/blob/master/dark-mode.md | nvd | Exploit, Issue Tracking, Third Party Advisory |
| https://wpvulndb.com/vulnerabilities/9008 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| dark_mode_project:dark_mode | = 1.6 | no | nvd | /v1/products/dark_mode_project/dark_mode |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-01-13
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts