CVE-2021-24821: Cost Calculator < 1.6 - Contributor+ Stored Cross-Site Scripting
Vulnerability summary
CVE-2021-24821 is a medium (CVSS 6.4) Cross-site Scripting vulnerability in nicdark cost_calculator. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 48.2% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 07-03-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
The Cost Calculator WordPress plugin before 1.6 allows users with a role as low as Contributor to perform Stored Cross-Site Scripting attacks via the Description fields of a Cost Calculator > Price Settings (which gets injected on the edit page as well as any page that embeds the calculator using the shortcode), as well as the Text Preview field of a Project (injected on the edit project page)
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.60% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Nicdark1 product
- cost_calculator< 1.6
Unknown1 product
- cost calculator≥ 1.6, < 1.6
Wordpress1 product
- nd-projects≤ 1.5 (fixed in 1.6)
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/f0915b66-0b99-4aeb-9fba-759cafaeb0cbX Refsource MISCExploitThird Party Advisory