CVE-2024-8271
published high CVSS 3.1 · 7.3FOX – Currency Switcher Professional for WooCommerce <= 1.4.2.1 - Unauthenticated Arbitrary Shortcode Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| realmag777 | — | FOX – Currency Switcher Professional for WooCommerce0 through 1.4.2.1 · Other versions: unaffected | Affected | Not stated | Wordfence |
| realmag777 | — | fox-currency_switcher_professional0 through 1.4.2.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
The The FOX – Currency Switcher Professional for WooCommerce plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.4.2.1. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode in the 'woocs_get_custom_price_html' function. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| realmag777 | FOX – Currency Switcher Professional for WooCommerce | 0 through 1.4.2.1 (affected · semver)Default: unaffected | Wordfence · cna |
| realmag777 | fox-currency_switcher_professional | 0 through 1.4.2.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
3- https://plugins.trac.wordpress.org/browser/woocommerce-currency-switcher/tags/1.4.2.1/classes/woocs.php#L4604
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3150596%40woocommerce-currency-switcher&new=3150596%40woocommerce-currency-switcher&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/dec51bd6-2ffe-47b6-9423-6131395bf439?source=cve
Provider assertions
2Wordfence · cna
FOX – Currency Switcher Professional for WooCommerce <= 1.4.2.1 - Unauthenticated Arbitrary Shortcode Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d8fd38d00276eb3a9b623fdc547e5a88676d7d90be6683a7e159d2c0eef22d90
- Ingested
- 23 Sep 2026, 08:34:06 UTC
- Source record
- Official CVE record