PT-2024-17610 · WordPress · Geodatasource Country Region Dropdown
Zakaria
·
Published
2024-12-14
·
Updated
2024-12-14
·
CVE-2024-12474
CVSS v3.1
6.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
GeoDataSource Country Region DropDown plugin for WordPress versions up to, and including, 1.0.1
Description
The issue is related to Stored Cross-Site Scripting via the plugin's 'gds-country-dropdown' shortcode due to insufficient input sanitization and output escaping on user supplied attributes, such as
attributes. This allows authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, potentially through API endpoints like "/wp-admin/admin.php" with vulnerable parameters like shortcode attributes.Recommendations
For versions up to, and including, 1.0.1, update to a version that addresses the insufficient input sanitization and output escaping issue.
As a temporary workaround, consider disabling the 'gds-country-dropdown' shortcode until a patch is available.
Restrict access to pages that use the 'gds-country-dropdown' shortcode to minimize the risk of exploitation.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Geodatasource Country Region Dropdown