# CVE-2021-24822: Stylish Cost Calculator < 7.04 - Subscriber+ Unauthorised AJAX Calls to Stored XSS

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/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.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-29T08:25:39.000Z
- Modified: 2026-06-17T03:40:58.013Z
- Weaknesses: CWE-79, CWE-352
- Assigned by: WPScan

## Description

The Stylish Cost Calculator WordPress plugin before 7.0.4 does not have any authorisation and CSRF checks on some of its AJAX actions (available to authenticated users), which could allow any authenticated users, such as subscriber to call them, and perform Stored Cross-Site Scripting attacks against logged in admin, as well as frontend users due to the lack of sanitisation and escaping in some parameters

(As written by CVE List.)

## Affected

- Unknown Stylish Cost Calculator: from 7.0.4 before 7.0.4
- stylishcostcalculator stylish_cost_calculator: before 7.0.4

## Every score

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

## References

- <https://wpscan.com/vulnerability/db84a782-d4c8-4abf-99ea-ea672a9b806e> (exploit, third-party-advisory)

## Sources

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

---

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