CVE-2021-24342: WordPress JNews - Reflected XSS
- Cve: CVE-2021-24342
- Name: WordPress JNews - Reflected XSS
- Description: The JNews WordPress theme before 8.0.6 did not sanitise the cat_id parameter in the POST request /?ajax-request=jnews (with action=jnews_build_mega_category_*), leading to a Reflected Cross-Site Scripting (XSS) issue.
- Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or defacement.
- Remediation: Update to version 8.0.6 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to send crafted POST request
- 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.01975
- Epss percentile: 0.81015
- Assignee: [email protected]
- Published at: 2021-06-07T11:15:16Z
- Age in days: 1996
- Modified at: 2026-06-17T03:39:51Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24342
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-24342 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24342.yaml |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/415ca763-fe65-48cb-acd3-b375a400217e | nvd | 2021-06-07 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/415ca763-fe65-48cb-acd3-b375a400217e | nvd | Exploit, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24342.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| jnews:jnews | < 8.0.6 | no | nvd | /v1/products/jnews/jnews |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-06-07
- Remote: yes
- Hackerone reports: 2
- 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, exposed hosts