CVE-2026-23497: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in frappe lms
Frappe Learning Management System (LMS) is a learning system that helps users structure their content. In 2.44.0 and earlier, there is a stored XSS vulnerability where a specially crafted image filename could execute malicious JavaScript when rendered on course or jobs pages.
AI Analysis
Technical Summary
CVE-2026-23497 identifies a stored cross-site scripting (XSS) vulnerability in the Frappe Learning Management System (LMS), versions 2.44.0 and earlier. The vulnerability stems from improper neutralization of input during web page generation, classified under CWE-79. Specifically, an attacker can craft an image filename containing malicious JavaScript code that, when uploaded and subsequently rendered on course or jobs pages, executes within the victim’s browser context. This stored XSS allows persistent script injection, which can lead to session hijacking, defacement, or redirection to malicious sites. The vulnerability does not require authentication or privileges to exploit but does require user interaction, such as viewing the affected page. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U) reflects network attack vector, low complexity, no privileges, user interaction required, and low impact on confidentiality, integrity, and availability. No known exploits are currently reported in the wild, and no official patches have been linked yet. The root cause is insufficient sanitization and encoding of user-supplied filenames before rendering in HTML, allowing script injection. This vulnerability highlights the need for secure input handling and output encoding in web applications, especially those handling user-generated content like LMS platforms.
Potential Impact
For European organizations using Frappe LMS, this vulnerability poses a risk primarily to confidentiality and integrity of user sessions and data viewed through the LMS interface. Attackers could exploit the stored XSS to execute malicious scripts in the browsers of educators, students, or administrators, potentially stealing session cookies, performing actions on behalf of users, or delivering further malware. While the direct impact on availability is negligible, the reputational damage and potential data leakage could be significant, especially for institutions handling sensitive educational data or personal information. The low CVSS score indicates limited severity, but the persistent nature of stored XSS means that once exploited, the malicious payload remains until removed. European educational institutions or companies relying on Frappe LMS for training could face targeted attacks aiming to disrupt learning activities or harvest credentials. The lack of known exploits reduces immediate risk, but proactive mitigation is advisable to prevent future exploitation.
Mitigation Recommendations
To mitigate CVE-2026-23497, organizations should implement strict input validation and sanitization on all user-supplied filenames, ensuring that special characters and script tags are neutralized before storage or rendering. Employ robust output encoding techniques (e.g., HTML entity encoding) when displaying filenames in web pages to prevent script execution. Restrict allowable characters in image filenames to a safe subset (e.g., alphanumeric, underscores, hyphens) and enforce filename length limits. Regularly audit LMS content for suspicious filenames and remove or rename those containing potentially malicious payloads. Monitor web application logs for unusual activity related to file uploads or page views. Although no official patches are linked yet, organizations should track vendor advisories for updates and apply patches promptly once available. Additionally, implement Content Security Policy (CSP) headers to reduce the impact of XSS by restricting script sources. Educate users about the risks of clicking on suspicious links or content within the LMS. Finally, consider isolating LMS environments and limiting user privileges to reduce the attack surface.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Sweden, Belgium
CVE-2026-23497: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in frappe lms
Description
Frappe Learning Management System (LMS) is a learning system that helps users structure their content. In 2.44.0 and earlier, there is a stored XSS vulnerability where a specially crafted image filename could execute malicious JavaScript when rendered on course or jobs pages.
AI-Powered Analysis
Technical Analysis
CVE-2026-23497 identifies a stored cross-site scripting (XSS) vulnerability in the Frappe Learning Management System (LMS), versions 2.44.0 and earlier. The vulnerability stems from improper neutralization of input during web page generation, classified under CWE-79. Specifically, an attacker can craft an image filename containing malicious JavaScript code that, when uploaded and subsequently rendered on course or jobs pages, executes within the victim’s browser context. This stored XSS allows persistent script injection, which can lead to session hijacking, defacement, or redirection to malicious sites. The vulnerability does not require authentication or privileges to exploit but does require user interaction, such as viewing the affected page. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U) reflects network attack vector, low complexity, no privileges, user interaction required, and low impact on confidentiality, integrity, and availability. No known exploits are currently reported in the wild, and no official patches have been linked yet. The root cause is insufficient sanitization and encoding of user-supplied filenames before rendering in HTML, allowing script injection. This vulnerability highlights the need for secure input handling and output encoding in web applications, especially those handling user-generated content like LMS platforms.
Potential Impact
For European organizations using Frappe LMS, this vulnerability poses a risk primarily to confidentiality and integrity of user sessions and data viewed through the LMS interface. Attackers could exploit the stored XSS to execute malicious scripts in the browsers of educators, students, or administrators, potentially stealing session cookies, performing actions on behalf of users, or delivering further malware. While the direct impact on availability is negligible, the reputational damage and potential data leakage could be significant, especially for institutions handling sensitive educational data or personal information. The low CVSS score indicates limited severity, but the persistent nature of stored XSS means that once exploited, the malicious payload remains until removed. European educational institutions or companies relying on Frappe LMS for training could face targeted attacks aiming to disrupt learning activities or harvest credentials. The lack of known exploits reduces immediate risk, but proactive mitigation is advisable to prevent future exploitation.
Mitigation Recommendations
To mitigate CVE-2026-23497, organizations should implement strict input validation and sanitization on all user-supplied filenames, ensuring that special characters and script tags are neutralized before storage or rendering. Employ robust output encoding techniques (e.g., HTML entity encoding) when displaying filenames in web pages to prevent script execution. Restrict allowable characters in image filenames to a safe subset (e.g., alphanumeric, underscores, hyphens) and enforce filename length limits. Regularly audit LMS content for suspicious filenames and remove or rename those containing potentially malicious payloads. Monitor web application logs for unusual activity related to file uploads or page views. Although no official patches are linked yet, organizations should track vendor advisories for updates and apply patches promptly once available. Additionally, implement Content Security Policy (CSP) headers to reduce the impact of XSS by restricting script sources. Educate users about the risks of clicking on suspicious links or content within the LMS. Finally, consider isolating LMS environments and limiting user privileges to reduce the attack surface.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-13T15:47:41.629Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6967e189d0ff220b953a1236
Added to database: 1/14/2026, 6:33:45 PM
Last enriched: 1/14/2026, 6:48:19 PM
Last updated: 1/14/2026, 8:12:07 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-22036: CWE-770: Allocation of Resources Without Limits or Throttling in nodejs undici
LowCVE-2026-22787: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in eKoopmans html2pdf.js
HighCVE-2026-22779: CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') in Neoteroi BlackSheep
MediumCVE-2025-67835: n/a
HighCVE-2025-67834: n/a
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.