---
id: CVE-2018-10228
title: >-
  Cross-site scripting (XSS) vulnerability in
  /application/controller/admin/theme.php in LimeSurvey 3.6.2+180406 allows
  remote attackers to inject arbitrary web script or HTML via the changes_cp
  parameter to the index.php/admin/themes/sa/t…
summary: >-
  Cross-site scripting (XSS) vulnerability in
  /application/controller/admin/theme.php in LimeSurvey 3.6.2+180406 allows
  remote attackers to inject arbitrary web script or HTML via the changes_cp
  parameter to the index.php/admin/themes/sa/t…
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 = 3.6.2
published: '2021-12-14'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2018-10228'
references:
  - url: >-
      https://github.com/LimeSurvey/LimeSurvey/blob/d0e0c94042fdb5119c9247dc2d57685334492e71/application/controllers/admin/themes.php#L644-L654
    label: cve@mitre.org
  - url: 'http://limesurvey.com'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00814
epssPercentile: 0.55523
ingestedAt: '2026-07-06T01:08:17.073Z'
---

## Overview

Cross-site scripting (XSS) vulnerability in /application/controller/admin/theme.php in LimeSurvey 3.6.2+180406 allows remote attackers to inject arbitrary web script or HTML via the changes_cp parameter to the index.php/admin/themes/sa/templatesavechanges URI.

## Affected

- `limesurvey = 3.6.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
