Description
The Mortgage Calculator / Loan Calculator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'mlcalc' shortcode in all versions up to, and including, 1.5.20 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2025-02-18
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Apply Update
AI Analysis

Impact

The Mortgage Calculator / Loan Calculator plugin for WordPress contains a stored XSS flaw in the 'mlcalc' shortcode. Unsanitized and unescaped shortcode attributes allow an attacker to embed arbitrary JavaScript that is saved and then executed whenever a page containing the shortcode is viewed. This could result in defacement, cookie theft, session hijacking or the delivery of additional malicious payloads. The vulnerability is classified as CWE‑79 and carries a moderate CVSS score of 6.4.

Affected Systems

WordPress installations using the Mortgage Calculator / Loan Calculator plugin with version 1.5.20 or earlier are affected. The flaw resides in the plugin’s core files (e.g., forms.inc.php and mlcalc.php) and applies to all users who can add or edit the shortcode on the site.

Risk and Exploitability

The EPSS score is less than 1%, indicating a low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with at least contributor privileges who can create or revise page content that includes the mlcalc shortcode. Once injected, the stored script affects all users who view the compromised page, providing a persistent cross‑site scripting risk.

Generated by OpenCVE AI on April 28, 2026 at 12:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Mortgage Calculator / Loan Calculator plugin to any version newer than 1.5.20, provided an update is available.
  • Restrict contributor and other non‑admin roles so they cannot add or edit content containing the mlcalc shortcode, limiting the pool of potential injectors.
  • If an immediate update cannot be performed, implement server‑side sanitization or output encoding of all arguments passed to the mlcalc shortcode to ensure user supplied data cannot inject executable scripts.

Generated by OpenCVE AI on April 28, 2026 at 12:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-4829 The Mortgage Calculator / Loan Calculator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'mlcalc' shortcode in all versions up to, and including, 1.5.20 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
History

Fri, 21 Feb 2025 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Mlcalc
Mlcalc mortgage Loan Calculator
CPEs cpe:2.3:a:mlcalc:mortgage_loan_calculator:*:*:*:*:*:wordpress:*:*
Vendors & Products Mlcalc
Mlcalc mortgage Loan Calculator

Tue, 18 Feb 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Feb 2025 04:30:00 +0000

Type Values Removed Values Added
Description The Mortgage Calculator / Loan Calculator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'mlcalc' shortcode in all versions up to, and including, 1.5.20 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Mortgage Calculator / Loan Calculator <= 1.5.20 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Mlcalc Mortgage Loan Calculator
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:38:07.001Z

Reserved: 2025-01-28T14:56:00.399Z

Link: CVE-2025-0805

cve-icon Vulnrichment

Updated: 2025-02-18T15:18:42.518Z

cve-icon NVD

Status : Analyzed

Published: 2025-02-18T05:15:20.053

Modified: 2025-02-21T15:46:08.020

Link: CVE-2025-0805

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T12:15:30Z

Weaknesses