CVE-2026-45106: Weblate Stored HTML Injection in Editor Search Preview

weblate Updated 15 May 2026

Summary

15/05/2026
Yes i
Moderate
4.6

CVE-2026-45106: Weblate: Stored HTML injection in editor search preview. Affects weblate versions < 2026.5. Fixed in 2026.5. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Weblate is a web-based translation management system that facilitates collaborative translation processes. It allows users to manage translation projects, collaborate on translations, and integrate with various version control systems. The platform is designed to streamline the translation workflow, making it easier for contributors to work together. However, a vulnerability has been identified that affects the security of the live search preview feature in the editor.

Vulnerability Detail

The vulnerability arises from Weblate's live search preview rendering unit 'source' and 'context' as HTML without proper escaping. This flaw allows any contributor who inputs content into these fields to store malicious HTML and CSS. When other users perform a matching search, this injected code executes within their authenticated editor environment, potentially leading to unauthorized actions or data exposure.

How To Fix

Latest published version: 2026.10.1 as of 22 Oct 2026

pip install --upgrade "weblate==2026.10.1"

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

If you need the minimum change

2026.5

This is the first release that contains the fix.

pip install --upgrade "weblate==2026.5"

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

Workaround

As a temporary workaround, users can limit the use of the search preview feature in the affected views until the patch is applied. This will mitigate the risk of executing malicious code while searching.

Conclusion

In summary, CVE-2026-45106 highlights a significant security vulnerability in Weblate that can lead to stored HTML injection through the editor's live search preview. Users are encouraged to update to the latest version to mitigate risks and ensure a secure translation management environment.

See every vulnerability recorded for weblate →

Share this vulnerability

FAQ

The vulnerability is a stored HTML injection that allows malicious code to be executed in the editor's live search preview.

Any user who has access to the Weblate editor and performs searches that match the injected content is at risk.

The consequences include unauthorized actions within the editor, potential data exposure, and a compromised user experience.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The CVSS score of this vulnerability is 4.6, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for weblate.

How To Fix

Latest published version: 2026.10.1 as of 22 Oct 2026

pip install --upgrade "weblate==2026.10.1"

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

If you need the minimum change

2026.5

This is the first release that contains the fix.

pip install --upgrade "weblate==2026.5"

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