---
id: CVE-2025-63238
title: >-
  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
summary: >-
  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 cra…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: limesurvey
product: limesurvey
affected:
  - limesurvey < 6.15.12
patched:
  - limesurvey 6.15.12
published: '2026-04-09'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T12:10:00.230'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-63238'
references:
  - url: 'https://gist.github.com/masquerad3r/f913ab479e8de2ad71987ef98a088fb5'
    label: cve@mitre.org
  - url: >-
      https://github.com/LimeSurvey/LimeSurvey/commit/80769a677dc82ddb1fcced4af19bd959d583208d
    label: cve@mitre.org
tags:
  - nvd
epss: 0.00227
epssPercentile: 0.12513
ingestedAt: '2026-10-15T13:06:33.271Z'
---

## Overview

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.

## Affected

- `limesurvey < 6.15.12`

## Remediation

Upgrade past the affected range:

- `limesurvey 6.15.12`
