# CVE-2021-24938: WooCommerce Currency Switcher < 1.3.7.1 - Reflected Cross-Site Scripting

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-06T15:55:37.000Z
- Modified: 2026-06-17T03:41:09.850Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The WOOCS WordPress plugin before 1.3.7.1 does not sanitise and escape the key parameter of the woocs_update_profiles_data AJAX action (available to any authenticated user) before outputting it back in the response, leading to a Reflected cross-Site Scripting issue

(As written by CVE List.)

## Affected

- Unknown WOOCS – Currency Switcher for WooCommerce. Professional and Free multi currency plugin – Pay in selected currency: from 1.3.7.1 before 1.3.7.1
- woocommerce woocommerce_currency_switcher: before 1.3.7.1

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/df8a6f2c-e075-45d5-9262-b4eb63c9351e> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24938](https://www.cve.org/CVERecord?id=CVE-2021-24938), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24938](https://nvd.nist.gov/vuln/detail/CVE-2021-24938), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24938 · Whole record: https://cve.day/CVE-2021-24938.json · Rebuilt by cve.day 2026-11-25T22:58:05.827Z
