CVE-2023-4160 MEDIUM

CVE-2023-4160: WooCommerce PDF Invoice Builder <= 1.2.90 - Authenticated (Administrator+) Cross-Site Scripting

Vendor Edgarrojas
Product PDF Builder for WooCommerce. Create invoices,packing slips and more
Weakness CWE-79 · XSS
Published August 31, 2023
Last update April 8, 2026

CVSS base score

4.4/10
Attack vector Network
Attack complexity High
Privileges required High
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

PDF Builder for WooCommerce versions up to 1.2.90 contain a stored cross-site scripting (XSS) vulnerability. An authenticated administrator with high privileges can inject malicious scripts into PDF generation settings. When other users or administrators view generated PDFs or related pages, the injected code executes in their browser, potentially compromising their session or stealing sensitive data.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that executes when other users view generated PDFs or settings pages.

Potential impact on your site

04Site Impact

A malicious admin can compromise other users' sessions, steal data, or perform actions on their behalf via injected scripts.

Conditions required to exploit

05Prerequisites

Attacker must have administrator-level access to the WordPress site and high system privileges.

Key dates

06Disclosure timeline

August 31, 2023 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE