CVE-2020-18699: Cross Site Scripting (XSS) in lin-cms

lin-cms Updated 02 Oct 2025

Summary

16/08/2021
No i
Moderate
6.1

CVE-2020-18699: Cross Site Scripting (XSS) in Lin-CMS-Flask v0.1.1 allows remote attackers to execute arbitrary code by entering scripts in the the 'Username' parameter of the in component 'app/api/cms/user.py'. Affects lin-cms versions 0.1.1a1 – 0.4.9. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Lin-CMS is a Python package available on PyPI that provides a content management system (CMS) framework for building web applications. It is designed to be lightweight and easy to use, offering features such as user management, permission control, and content publishing. Lin-CMS-Flask is a specific version of Lin-CMS that is built using the Flask web framework. This vulnerability affects Lin-CMS-Flask version 0.1.1.

Vulnerability Detail

The vulnerability identified as CVE-2020-18699 is a Cross Site Scripting (XSS) vulnerability in Lin-CMS-Flask. It allows remote attackers to execute arbitrary code by injecting scripts into the 'Username' parameter of the 'app/api/cms/user.py' component. This means that an attacker can manipulate the input field for the 'Username' parameter to inject malicious scripts, which will then be executed by the application. This can lead to various security risks, including unauthorized access, data theft, and further exploitation of the system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement input validation and sanitization on the server-side to prevent the execution of malicious scripts. This can be done by implementing proper input validation and sanitization functions that strip or escape any potentially dangerous characters or scripts. Here is an example of how you can sanitize the 'Username' parameter in Python:

import html

username = html.escape(username)

By using the html.escape() function, any HTML special characters will be converted to their corresponding HTML entities, preventing them from being interpreted as code.

Conclusion

In conclusion, the CVE-2020-18699 vulnerability in Lin-CMS-Flask version 0.1.1 allows for Cross Site Scripting (XSS) attacks, enabling remote attackers to execute arbitrary code. To mitigate this vulnerability, it is crucial to upgrade to a patched version of Lin-CMS-Flask and implement proper input validation and sanitization. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for lin-cms →

Share this vulnerability

FAQ

Lin-CMS is a lightweight content management system (CMS) framework for building web applications. It provides features such as user management, permission control, and content publishing.

Lin-CMS-Flask is a specific version of Lin-CMS that is built using the Flask web framework.

Cross Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various security risks, including unauthorized access, data theft, and further exploitation of the system.

To fix this vulnerability, you should upgrade to a version of Lin-CMS-Flask that includes a patch for this issue. Additionally, you should implement proper input validation and sanitization to prevent the execution of malicious scripts.

As a temporary workaround, you can implement input validation and sanitization on the server-side to prevent the execution of malicious scripts. This can be done by stripping or escaping any potentially dangerous characters or scripts from user input.

Related vulnerabilities

Recent vulnerabilities recorded for lin-cms.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback