| शीर्षक | kagisearch smallweb main Cross Site Scripting |
|---|
| विवरण | A reflected Cross-Site Scripting (XSS) vulnerability was discovered in the kagisearch/smallweb web application. The index() route handler at app/sw.py line 1395 captures the raw HTTP query string via request.query_string.decode() and passes it unsanitized to the Jinja2 template context as the qs variable. Four template partials (reactions.html, flag_panel.html, mobile_more.html) then render this variable using the Jinja2 |safe filter in HTML form action attributes, which explicitly disables HTML auto-escaping. An attacker who sends a raw HTTP request with unencoded double-quote characters and a script tag in the query string can break out of the form action attribute and inject arbitrary JavaScript code that executes in the victim's browser within the kagi.com origin.
|
|---|
| स्रोत | ⚠️ https://github.com/kagisearch/smallweb/issues/854 |
|---|
| उपयोगकर्ता | Customeres (UID 86596) |
|---|
| सबमिशन | 03/08/2026 07:15 AM (1 महीना पहले) |
|---|
| संयम | 12/09/2026 07:36 PM (1 month later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 403168 [kagisearch smallweb तक 0ecb9c48edbf98dc7e934b54fbac43869e64b4cf Query String Rendering app/sw.py index qs क्रॉस साइट स्क्रिप्टिंग] |
|---|
| अंक | 20 |
|---|