| Название | Mayan EDMS CMS 4.10 Cross Site Scripting |
|---|
| Описание | A DOM-based Cross-Site Scripting (XSS) vulnerability was identified in the Mayan EDMS web interface. The application reflects user-controlled data directly into a JavaScript context without proper sanitization, allowing an attacker to execute arbitrary JavaScript in the victim’s browser.
This issue can lead to account takeover, data exfiltration, privilege escalation, or full compromise of the affected user session.
The vulnerable code is located in the client-side template rendering logic responsible for handling dynamic navigation:
'''
<script> if (typeof partialNavigation === 'undefined') { document.write('<script type="text/undefined">') const currentLocation = '#' + window.location.pathname + window.location.search; const url = new URL(currentLocation, window.location.origin) window.location = url; } </script>
'''
User-controlled data from window.location is passed into JavaScript without sanitization, which makes it possible to inject executable code.
|
|---|
| Источник | ⚠️ https://github.com/ionutluca888/Mayan-EDMS-XSS-POC |
|---|
| Пользователь | luca_irinel (UID 85391) |
|---|
| Представление | 10.12.2025 09:43 (4 месяцы назад) |
|---|
| Модерация | 14.12.2025 11:41 (4 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 336409 [Mayan EDMS до 4.10.1 /authentication/ межсайтовый скриптинг] |
|---|
| Баллы | 20 |
|---|