CVE-2023-0542: Custom Post Type List Shortcode - Stored XSS
- Cve: CVE-2023-0542
- Name: Custom Post Type List Shortcode - Stored XSS
- Description: The Custom Post Type List Shortcode WordPress plugin through 1.4.4 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.
- Impact: Attackers can execute arbitrary scripts in the context of other users, potentially leading to session hijacking or defacement.
- Remediation: Update to the latest version where the issue is fixed, or sanitize and escape shortcode attributes properly.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to embed malicious shortcode
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00444
- Epss percentile: 0.39079
- Assignee: [email protected]
- Published at: 2023-05-08T14:15:11Z
- Age in days: 1296
- Modified at: 2026-06-17T05:25:47Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-0542
- 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://wpscan.com/vulnerability/17de2f77-3e6c-4c22-9196-6e5577ee7fcf | nvd | 2023-05-08 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/17de2f77-3e6c-4c22-9196-6e5577ee7fcf | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| blackbirdi:custom_post_type_list_shortcode | <= 1.4.4 | no | nvd | /v1/products/blackbirdi/custom_post_type_list_shortcode |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-05-08
- 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