CVE-2026-73628
Received Received - Intake

Reflected XSS in Serendipity CMS

Vulnerability report for CVE-2026-73628, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
serendipity serendipity From 2.3.5 (inc) to 2.6.0 (inc)
serendipity serendipity 2.6.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a reflected cross-site scripting (XSS) vulnerability affecting Serendipity CMS versions 2.3.5 through 2.6.0. The flaw occurs in the search clean-URL route where a search term is reflected back into the page without proper sanitization. The issue involves incorrect sanitization logic that decodes URL-encoded HTML payloads after encoding, allowing malicious JavaScript to execute in a victim's browser when they click a crafted link.

Detection Guidance

To detect this vulnerability, check if your Serendipity CMS version is between 2.3.5 and 2.6.0. Use commands like 'curl -s http://your-site.com/serendipity_version' or check the version in the admin panel. Test by visiting a crafted URL like 'http://your-site.com/search/%3Csvg/onload=alert(1)%3E' to see if JavaScript executes.

Alternatively, inspect the serveSearch() function in include/functions_routing.inc.php for improper sanitization logic where urldecode() is applied after HTML encoding.

Impact Analysis

An attacker can exploit this to execute arbitrary JavaScript in your browser when you click a malicious search link. This could lead to session hijacking, theft of cookies or sensitive data, or redirection to phishing sites. The attack requires user interaction, meaning you must click the link for it to work.

Mitigation Strategies

Immediately upgrade Serendipity to version 2.6.1 or later to patch the vulnerability. If upgrading is not possible, modify the sanitization logic in include/functions_routing.inc.php to decode input before applying encoding and sanitization functions.

Temporarily disable the search clean-URL route or restrict access to the /search/ endpoint until patched. Monitor for suspicious activity or unauthorized access attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-73628. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart