Description
Frappe before 14.58.0 and 15.x before 15.4.0 contains a cross-site scripting vulnerability in printview because printview parameters are not escaped before being rendered. Remote attackers can craft a malicious printview URL that, when visited by a victim, injects HTML and executes script in the victim's browser session.
Published: 2026-10-12
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

The vulnerability allows attacker‑controlled input to appear in the browser when a user visits a specially crafted printview URL. Because the parameters are inserted directly into the page without escaping, any HTML or JavaScript supplied in those parameters is executed in the victim’s browser session, providing a classic cross‑site scripting exploit.

Affected Systems

Systems running Frappe older than 14.58.0 or any 15.x release before 15.4.0 are impacted. The flaw is specific to the printview feature in those releases.

Risk and Exploitability

The CVSS score of 5.3 categorizes the issue as moderate severity. No EPSS data are available, and the flaw is not listed in the CISA KEV catalog. Attackers can remotely inject malicious URLs and deliver them to users; successful exploitation would enable arbitrary script execution confined to the victim’s browser session without granting direct system or network access.

Generated by OpenCVE AI on October 13, 2026 at 01:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Frappe 15.4.0 or later, which includes the fix that properly escapes printview parameters.
  • If an upgrade is not immediately possible, apply server‑side escaping or sanitization to any printview parameters before rendering, for example by using an HTML‑escape function.
  • Deploy a content security policy that blocks inline scripts or restricts script sources to trusted origins.
  • Consider configuring a web application firewall rule to detect and block suspicious printview requests containing unescaped characters.

Generated by OpenCVE AI on October 13, 2026 at 01:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 12 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
Description Frappe before 14.58.0 and 15.x before 15.4.0 contains a cross-site scripting vulnerability in printview because printview parameters are not escaped before being rendered. Remote attackers can craft a malicious printview URL that, when visited by a victim, injects HTML and executes script in the victim's browser session.
Title Frappe before 15.4.0 XSS via Printview Parameters
First Time appeared Frappe
Frappe frappe
Weaknesses CWE-79
CPEs cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe frappe
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T13:33:51.735Z

Reserved: 2026-10-12T21:02:41.777Z

Link: CVE-2024-58391

cve-icon Vulnrichment

Updated: 2026-10-13T13:33:47.478Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T23:17:18.307

Modified: 2026-10-13T14:17:17.960

Link: CVE-2024-58391

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T04:30:17Z

Weaknesses
  • CWE-79

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