CVE-2024-28191: Contao Core Bundle - Unencoded insert tags in the frontend

contao/core-bundle Updated 02 Oct 2025

Summary

09/04/2024
Yes i
Low
3.1

CVE-2024-28191: Contao: Unencoded insert tags in the frontend. Affects contao/core-bundle across 2 version ranges.

>= 4.0.0, < 4.13.40 >= 5.0.0-RC1, < 5.3.4

Fixed in 4.13.40 or 5.3.4, depending on the release line you run. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Contao Core Bundle is a package that provides essential functionality for the Contao CMS. It includes features such as form generation, data output, and content management. The package is widely used by developers to build and manage websites.

Vulnerability Detail

This vulnerability in the Contao Core Bundle allows for the injection of unencoded insert tags via the form generator. If the submitted form data is output on the page in a specific way, an attacker can exploit this to inject malicious code or manipulate the displayed content. The impact of this vulnerability can range from unauthorized data access to potential remote code execution.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.0.0, < 4.13.40 4.13.40
    composer require contao/core-bundle:4.13.40
  • >= 5.0.0-RC1, < 5.3.4 5.3.4
    composer require contao/core-bundle:5.3.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If updating the Contao Core Bundle is not immediately possible, a temporary workaround is to avoid outputting the submitted form data on the website. By preventing the display of user-submitted data, the risk of exploit is mitigated.

Conclusion

The vulnerability in the Contao Core Bundle allows for the injection of unencoded insert tags, which can lead to various security risks. It is crucial to update to the recommended versions or implement the provided workaround to ensure the secure handling of form data. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for contao/core-bundle →

Share this vulnerability

FAQ

The Contao Core Bundle is a package that provides essential functionality for the Contao CMS, including form generation and data output.

The vulnerability occurs when the form generator outputs submitted form data on the page without proper encoding, allowing for the injection of unencoded insert tags.

The consequences of this vulnerability can range from unauthorized data access to potential remote code execution, depending on how the injected insert tags are utilized.

No, only versions 4.0.0 to 4.13.39 and 5.0.0-RC1 to 5.3.3 are affected. Updating to versions 4.13.40 or 5.3.4 will fix the vulnerability.

Yes, by avoiding the output of submitted form data on the website, the risk of exploit can be mitigated. However, updating to the patched versions is recommended for complete security.

Related vulnerabilities

Recent vulnerabilities recorded for contao/core-bundle.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.0.0, < 4.13.40 4.13.40
    composer require contao/core-bundle:4.13.40
  • >= 5.0.0-RC1, < 5.3.4 5.3.4
    composer require contao/core-bundle:5.3.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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