CVE-2021-24828 Mortgage Calculator / Loan Calculator < 1.5.17 - Contributor+ Stored Cross-Site Scripting
Contributors can inject malicious scripts via unescaped shortcode attributes in the Mortgage Calculator plugin, potentially compromising site visitors.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24828?
CVE-2021-24828 is a medium-severity cross-site scripting vulnerability in Unknown Mortgage Calculator / Loan Calculator, published on 3 Jan 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The Mortgage Calculator / Loan Calculator WordPress plugin before 1.5.17 does not escape the some of the attributes of its mlcalc shortcode before outputting them, which could allow users with a role as low as contributor to perform Cross-Site Scripting attacks
Weakness: CWE-79
Which versions are affected by CVE-2021-24828?
It affects 1 product.
Products include Mlcalc Mortgage Calculator\/Loan Calculator.
How do I fix CVE-2021-24828?
No fix has been published for CVE-2021-24828 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-24828 being exploited?
There is no known exploitation of CVE-2021-24828 in the wild and no public exploit code.
Sources
Also known as GHSA-p5f5-cqqw-8wj2.