Cross-site scripting vulnerability in libkohana2-php

libkohana2-php Updated 02 Oct 2025

Summary

14/01/2018
N/A
Yes i
Unrated
Not published

DLA-1241-1: libkohana2-php - security update. Affects libkohana2-php versions < 2.3.4-2+deb7u1. Fixed in 2.3.4-2+deb7u1. 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

libkohana2-php is a PHP framework used for web development. It provides various features and functionalities to simplify the development process. However, a vulnerability has been discovered in the framework that allows remote attackers to inject arbitrary web script or HTML through a Cross-site scripting (XSS) attack. This vulnerability occurs due to the bypassing of the strip_image_tags protection mechanism in system/classes/Kohana/Security.php.

Vulnerability Detail

The vulnerability in libkohana2-php allows attackers to inject malicious web script or HTML into the application. By bypassing the strip_image_tags protection mechanism, remote attackers can exploit this vulnerability to execute arbitrary code in the context of the affected application. This can lead to various consequences, including unauthorized access, data theft, and potential compromise of user accounts or sensitive information.

How To Fix

Minimum fixed version

2.3.4-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libkohana2-php

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

Workaround

There is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is recommended to implement input validation and output encoding to prevent XSS attacks. Additionally, regularly updating the framework and its dependencies can help mitigate potential vulnerabilities.

Conclusion

The Cross-site scripting vulnerability in libkohana2-php can be mitigated by upgrading to the latest version of the package and implementing proper input validation and output encoding. Regularly updating the framework and its dependencies is crucial to ensure the security of the application. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libkohana2-php →

Share this vulnerability

FAQ

libkohana2-php is a PHP framework used for web development. It provides a range of features and functionalities to simplify the development process.

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 unauthorized access, data theft, and other malicious activities.

The vulnerability in libkohana2-php allows remote attackers to inject arbitrary web script or HTML into the application. This can lead to various consequences, including unauthorized access, data theft, and potential compromise of user accounts or sensitive information.

To fix the vulnerability, it is recommended to upgrade the libkohana2-php package to version 2.3.4-2+deb7u1 or later. Additionally, sanitize user input by using external libraries instead of relying solely on the framework's built-in protection mechanisms.

There is no specific workaround mentioned for this vulnerability. However, implementing input validation and output encoding can help prevent XSS attacks. Regularly updating the framework and its dependencies is also recommended.

Related vulnerabilities

Recent vulnerabilities recorded for libkohana2-php.

How To Fix

Minimum fixed version

2.3.4-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libkohana2-php

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