CVE-2021-24934: Plugin - Reflected XSS
- Cve: CVE-2021-24934
- Name: Plugin - Reflected XSS
- Description: The Visual CSS Style Editor WordPress plugin before 7.5.4 does not sanitise and escape the wyp_page_type parameter before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting issue
- Impact: Attackers can execute malicious scripts in the admin's browser, potentially leading to session hijacking or defacement.
- Remediation: Implement proper sanitization and escaping of the wyp_page_type parameter before outputting it in the admin page.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to craft a malicious link or input
- Labels source: projectdiscovery
- Severity: medium
- 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.01397
- Epss percentile: 0.73135
- Assignee: [email protected]
- Published at: 2022-02-01T13:15:08Z
- Age in days: 1757
- Modified at: 2026-06-17T03:41:09Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24934
- Nvd status: modified
- Checked, none or zero: known exploited entries, 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 |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-24934 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24934.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/0aa5a8d5-e736-4cd3-abfd-8e0a356bb6ef | nvd | 2022-02-01 |
References
| Url | Source | Tags |
|---|---|---|
| https://plugins.trac.wordpress.org/changeset/2649978 | nvd | Patch, Third Party Advisory |
| https://wpscan.com/vulnerability/0aa5a8d5-e736-4cd3-abfd-8e0a356bb6ef | nvd | Exploit, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24934.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| yellowpencil:visual_css_style_editor | < 7.5.4 | no | nvd | /v1/products/yellowpencil/visual_css_style_editor |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-02-01
- Remote: yes
- Exposed hosts: 5
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports