CVE-2022-1393: WP Subtitle - Stored XSS
- Cve: CVE-2022-1393
- Name: WP Subtitle - Stored XSS
- Description: The WP Subtitle WordPress plugin before 3.4.1 adds a subtitle field and provides a shortcode to display it via [wp_subtitle]. The subtitle is stored as a custom post meta with the key: "wps_subtitle", which is sanitized upon post save/update, however is not sanitized when updating it directly from the post meta update button (via AJAX) - and this makes the XSS exploitable by authenticated users with a role as low as contributor.
- Impact: Authenticated low-privilege users can execute arbitrary scripts, potentially leading to cross-site scripting attacks and session hijacking.
- Remediation: Update to version 3.4.1 or later, ensuring proper sanitization during all subtitle updates.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: User must be logged in and have contributor or higher role
- 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.006
- Epss percentile: 0.49664
- Assignee: [email protected]
- Published at: 2022-05-16T15:15:09Z
- Age in days: 1653
- Modified at: 2026-06-17T04:22:22Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-1393
- Nvd status: modified
- Checked, none or zero: 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/3491b889-94dd-4507-9fed-58f48d8275cf | nvd | 2022-05-16 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/3491b889-94dd-4507-9fed-58f48d8275cf | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wp_subtitle_project:wp_subtitle | < 3.4.1 | no | nvd | /v1/products/wp_subtitle_project/wp_subtitle |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-05-16
- 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