CVE-2018-9856: CSRF Vulnerability in Kotti

kotti Updated 02 Oct 2025

Summary

09/04/2018
Yes i
High
8.8

CVE-2018-9856: Kotti before 1.3.2 and 2.x before 2.0.0b2 has CSRF in the local roles implementation, as demonstrated by triggering a permission change via a /admin-document/@@share request. Affects kotti versions < 1.3.2. Fixed in 1.3.2. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Kotti is an open-source Python web application framework that provides a content management system (CMS) for building websites. It allows users to create and manage web pages, documents, and other content. Kotti is vulnerable to a Cross-Site Request Forgery (CSRF) attack in its local roles implementation.

Vulnerability Detail

The CSRF vulnerability in Kotti allows an attacker to perform unauthorized actions on behalf of an authenticated user. By triggering a permission change through a specially crafted request, an attacker can modify the permissions of a user and gain unauthorized access to sensitive functionality or data. This vulnerability can lead to various security risks, including privilege escalation, data leakage, and unauthorized modification of content.

How To Fix

Latest published version: 2.0.9 as of 22 Oct 2026

pip install --upgrade "kotti==2.0.9"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.3.2

This is the first release that contains the fix.

pip install --upgrade "kotti==1.3.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the patched versions is not immediately possible, a temporary workaround is to disable or restrict access to the vulnerable functionality. This can be achieved by modifying the application's configuration or by implementing additional security measures, such as CSRF tokens or strict referer checking.

Conclusion

In conclusion, the CSRF vulnerability in Kotti can have serious security implications and it is crucial to take immediate action to mitigate the risk. Upgrading to the patched versions or implementing workarounds can help protect the application from potential attacks. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for kotti →

Share this vulnerability

FAQ

Cross-Site Request Forgery (CSRF) is a type of security vulnerability that allows an attacker to perform unauthorized actions on behalf of an authenticated user.

The CSRF vulnerability in Kotti can lead to unauthorized access, privilege escalation, data leakage, and unauthorized modification of content.

The recommended solution is to upgrade to Kotti version 1.3.2 or later for Kotti 1.x, and version 2.0.0b2 or later for Kotti 2.x.

Yes, a temporary workaround is to disable or restrict access to the vulnerable functionality or implement additional security measures like CSRF tokens or strict referer checking.

You can find more information about the CSRF vulnerability in Kotti in the official advisory database: https://github.com/pypa/advisory-database/blob/main/vulns/kotti/PYSEC-2018-10.yaml

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 2.0.9 as of 22 Oct 2026

pip install --upgrade "kotti==2.0.9"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.3.2

This is the first release that contains the fix.

pip install --upgrade "kotti==1.3.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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