WordPress Plugin Vulnerabilities

Woocommerce Vietnam Checkout < 2.0.6 - Unauthenticated Stored XSS

Description

The plugin does not escape the custom shipping phone field no the checkout form leading to XSS

Proof of Concept

1) Install both WooCommerce and the plugin.
2) Set a WooCommerce shipping method, and the store's address to one that is in Vietnam.
3) Add product to cart, and proceed to checkout
4) Tick "Ship to a different address?"
5) Fill the telephone field with:

" onmouseover="alert(1);//


An alert box should pop up when an administrator hovers the order's associated recipient phone number on http://vulnerable-site.tld/wp-admin/post.php?post=$ORDER_ID&action=edit

You can find a video here:

https://drive.proton.me/urls/JRWA6XHCR8#6MS36X7Ag78i

Affects Plugins

Fixed in 2.0.6

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
dc11
Submitter
dc11
Verified
Yes

Timeline

Publicly Published
2023-11-06 (about 6 months ago)
Added
2023-11-06 (about 6 months ago)
Last Updated
2023-11-06 (about 6 months ago)

Other