WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Shortcodes and extra features for Phlox theme < 2.9.8 - Reflected Cross-Site-Scripting

Description

The plugin does not sanitise and escape a parameter before outputting it back in the response, leading to a Reflected Cross-Site Scripting

Proof of Concept

1. Install and activate the plugin's dependencies:
    + Phlox (install and active it - theme can be found @ https://wordpress.org/themes/phlox/ )
    + WooCommerce (no setup required)
2. Install the vulnerable plugin (auxin-elements)
3. Visit the following URL to trigger an alert box:

https://example.com/wp-admin/admin-ajax.php?action=aux_the_recent_products&data[wp_query_args][post_type]=post&data[title]=%3Cscript%3Ealert(`xss`);%3C/script%3E

Note: The `data[wp_query_args][post_type]=post` parameter is used to query for posts instead of products to avoid an empty response as no products have been created beforehand. If there are products in the database, this parameter can be removed. 

Affects Plugins

auxin-elements
Fixed in version 2.9.8

References

CVE
CVE-2022-1910

Classification

Type

XSS

OWASP top 10
A7: Cross-Site Scripting (XSS)
CWE
CWE-79

Miscellaneous

Original Researcher

cydave

Submitter

cydave

Submitter website
https://cyllective.com/
Submitter twitter
cyllective
Verified

Yes

WPVDB ID
8afe1638-66fa-44c7-9d02-c81573193b47

Timeline

Publicly Published

2022-06-20 (about 7 months ago)

Added

2022-06-20 (about 7 months ago)

Last Updated

2022-06-20 (about 7 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us