CVE-2025-0805

Mortgage Calculator / Loan Calculator <= 1.5.20 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Feb 18, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:38 PM
Reserved
Jan 28, 2025, 2:56 PM
Status
Analyzed
Published
Feb 18, 2025, 5:15 AM
Modified
Jun 17, 2026, 8:27 AM