CVE-2024-45932: Krayin CRM Vulnerable to XSS via Organization Name Field

krayin/laravel-crm Updated 02 Oct 2025

Summary

07/10/2024
No i
Moderate
4.8

CVE-2024-45932: Krayin CRM vulnerable to Cross Site Scripting (XSS) via the organization name. Affects krayin/laravel-crm versions < 1.3.0. 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

Krayin CRM is an open-source customer relationship management system built on Laravel. It provides features for managing contacts, organizations, and sales processes. The system is designed to help businesses streamline their customer interactions and improve their sales workflows. However, version 1.3.0 of Krayin CRM has been identified to have a vulnerability that allows for Cross Site Scripting (XSS) attacks through the organization name field, which can compromise user data and application integrity.

Vulnerability Detail

The vulnerability arises from improper handling of user input in the organization name field located at '/admin/contacts/organizations/edit/2'. An attacker can exploit this flaw by injecting malicious scripts into the organization name, which, when rendered in the browser, can execute arbitrary JavaScript code. This can lead to session hijacking, data theft, or unauthorized actions performed on behalf of the user. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), and it poses a moderate risk with a CVSS score of 4.8.

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 sanitize user inputs on the organization name field to prevent script injection. Implement input validation and encoding to ensure that any HTML or JavaScript code is not executed. For example, you can use PHP's htmlspecialchars function:

$sanitized_name = htmlspecialchars($organization_name, ENT_QUOTES, 'UTF-8');

Conclusion

The identified vulnerability in Krayin CRM (CVE-2024-45932) poses a moderate risk due to its potential for Cross Site Scripting attacks via the organization name field. It is crucial for users to update their packages to the latest version to ensure security. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for krayin/laravel-crm →

Share this vulnerability

FAQ

XSS is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users, potentially compromising their data and security.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file without needing to sign up.

Exploiting this vulnerability can lead to session hijacking, data theft, and unauthorized actions performed on behalf of users, which can severely compromise application security.

Yes, a patch is available. Update your Krayin CRM package to a version higher than 1.3.0 to mitigate this vulnerability.

If you cannot update the package right away, implement input validation and sanitization as a temporary workaround to mitigate the risk of XSS attacks.

Related vulnerabilities

Recent vulnerabilities recorded for krayin/laravel-crm.

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