WordPress security changelog
MEDIUM CVE-2023-4160 Modified

WooCommerce PDF Invoice Builder: Cross-site scripting

WooCommerce PDF Invoice Builder is affected by cross-site scripting. Exploitation requires an authenticated administrator account. Injected script can execute in the affected site's origin when the vulnerable output is viewed.

CVE / CNA score 4.4 CVSS 3.1 · security@wordfence.com
NVD score 4.8 CVSS 3.1 · nvd@nist.gov
Component
WooCommerce PDF Invoice Builder
Plugin slug
woo-pdf-invoice-builder
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Aug 31, 2023
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

This CVE was published Aug 31, 2023 and is one of 12 known issues for this plugin.

Update, patch or deactivate.

No fixed release is identified. Update WooCommerce PDF Invoice Builder when a confirmed fixed release becomes available; until then, disable and remove it when the site's risk warrants.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

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

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

Primary and upstream sources