ARCANEDEV / LogViewer

:page_with_curl: Provides a log viewer for Laravel
MIT License
2.37k stars 335 forks source link

Reflected DOM-Based XSS vulnerability #467

Open tuanpmanh opened 3 months ago

tuanpmanh commented 3 months ago

Description:

Versions 4.6.x and 4.7.x are affected by a Reflected DOM-Based XSS vulnerability in the query log feature. Upon reviewing these versions, I found that the following code segments have not been escaped for XSS characters. 4.6-bootstrap-3 4.6-bootstrap-4 4.7-bootstrap-3 4.7-bootstrap-4 log_viewer_code_xss

Therefore, users of these versions might be vulnerable to XSS attacks as shown in the poc image below https://REDACTED/log-viewer/logs/2024-08-07/all/search?query="><script>alert('Infected')</script> poc