CVE-2023-4160: WooCommerce PDF Invoice Builder - Stored XSS
- Cve: CVE-2023-4160
- Name: WooCommerce PDF Invoice Builder - Stored XSS
- Description: The WooCommerce PDF Invoice Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in versions up to, and including, 1.2.90 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
- Impact: Attackers can execute arbitrary scripts in pages, potentially leading to session hijacking, defacement, or malicious redirection.
- Remediation: Update to the latest version of the plugin, above 1.2.90, to fix the vulnerability.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: admin_privileges
- Requirements: Attacker needs administrator-level permissions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00492
- Epss percentile: 0.43113
- Assignee: [email protected]
- Published at: 2023-08-31T06:15:10Z
- Age in days: 1181
- Modified at: 2026-06-17T06:37:12Z
- Patch available: yes
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-4160
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rednao:woocommerce_pdf_invoice_builder | <= 1.2.90 | no | nvd | /v1/products/rednao/woocommerce_pdf_invoice_builder |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts