Description (CNA)
Serendipity versions >= 2.3.5 and <= 2.6.0 contain a reflected cross-site scripting vulnerability in the search clean-URL route (/search/<term>). In include/functions_routing.inc.php serveSearch(), the sanitisation pipeline runs urldecode() after HTML-encoding, so a single URL-encoded HTML payload survives strip_tags() and htmlspecialchars() and is then decoded back into live HTML in the page. A crafted search link can execute arbitrary JavaScript in the victim's browser. Fixed in 2.6.1.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| s9y / Serendipity | affected 2.3.5 through 2.6.0 |
CWE
CWE-79
References
- https://github.com/s9y/Serendipity/security/advisories/GHSA-6c2x-mjmq-vx4q
- https://www.vulncheck.com/advisories/serendipity-reflected-xss-via-search-clean-url-route
ADP enrichment
No English description supplied.