---
id: CVE-2021-31674
title: >-
  Cyclos 4 PRO 4.14.7 and before does not validate user input at error inform,
  which allows remote unauthenticated attacker to execute javascript code via
  undefine enum constant.
summary: >-
  Cyclos 4 PRO 4.14.7 and before does not validate user input at error inform,
  which allows remote unauthenticated attacker to execute javascript code via
  undefine enum constant.
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: cyclos
product: cyclos
affected:
  - 'cyclos >= 4.0.0, <= 4.14.7'
published: '2022-05-02'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-31674'
references:
  - url: >-
      http://packetstormsecurity.com/files/167040/Cyclos-4.14.7-Cross-Site-Scripting.html
    label: cve@mitre.org
  - url: >-
      https://tf1t.gitbook.io/mycve/cylos/cyclos-4.14.7-dom-based-cross-site-scripting-in-undefined-enum-cve-2021-31674
    label: cve@mitre.org
  - url: 'https://www.exploit-db.com/exploits/50908'
    label: cve@mitre.org
  - url: 'http://cyclos.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://tf1t.gitbook.io/mycve/cylos/cyclos-4.14.7-dom-based-cross-site-scripting-in-undefined-enum-cve-2021-31674
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.exploit-db.com/exploits/50908'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - exploit-available
epss: 0.03949
epssPercentile: 0.90029
exploitAvailable: true
ingestedAt: '2026-07-06T17:03:24.348Z'
exploits:
  exploitdb: true
  checkedAt: '2026-09-26T09:05:27.659Z'
---

## Overview

Cyclos 4 PRO 4.14.7 and before does not validate user input at error inform, which allows remote unauthenticated attacker to execute javascript code via undefine enum constant.

## Affected

- `cyclos >= 4.0.0, <= 4.14.7`

## Remediation

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