CVE-2024-58391

Frappe before 15.4.0 XSS via Printview Parameters

Published Oct 12, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 1:33 PM
Reserved
Oct 12, 2026, 9:02 PM
Status
Deferred
Published
Oct 12, 2026, 11:17 PM
Modified
Nov 9, 2026, 10:10 AM