Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-4812: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

0
Medium
VulnerabilityCVE-2024-4812cvecve-2024-4812
Published: Wed Jun 05 2024 (06/05/2024, 15:06:13 UTC)
Source: CVE Database V5

Description

A flaw was found in the Katello plugin for Foreman, where it is possible to store malicious JavaScript code in the "Description" field of a user. This code can be executed when opening certain pages, for example, Host Collections.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 22:29:04 UTC

Technical Analysis

CVE-2024-4812 identifies a stored cross-site scripting (XSS) vulnerability within the Katello plugin for Foreman, a popular open-source lifecycle management tool for Linux systems. The flaw arises from improper neutralization of input during web page generation, specifically in the "Description" field of a user entity. An attacker with authenticated high privileges can inject malicious JavaScript code into this field. When a user subsequently accesses pages that render this field, such as Host Collections, the injected script executes in the victim's browser context. This can lead to theft of session cookies, unauthorized actions performed with the victim's privileges, or other malicious activities typical of XSS attacks. The CVSS 3.1 base score is 4.8 (medium), reflecting network attack vector, low attack complexity, required privileges (high), required user interaction, and a scope change. The vulnerability affects confidentiality and integrity but does not impact availability. No patches or known exploits are currently documented, but the risk remains significant for environments relying on Katello for system management. Mitigation involves input validation, output encoding, and applying vendor patches once available.

Potential Impact

This vulnerability poses a moderate risk to organizations using Foreman with the Katello plugin, particularly those managing large Linux infrastructure. Successful exploitation could allow attackers to execute arbitrary JavaScript in the context of authenticated users, potentially leading to session hijacking, privilege escalation, or unauthorized configuration changes. While the attack requires authenticated users with high privileges and user interaction, the impact on confidentiality and integrity can be significant in sensitive environments. Exploitation could disrupt trust in system management interfaces and lead to broader compromise if attackers leverage stolen credentials or session tokens. The lack of availability impact reduces the urgency but does not eliminate the risk of data exposure or manipulation. Organizations with extensive use of Foreman/Katello in enterprise or government settings are particularly vulnerable.

Mitigation Recommendations

Organizations should immediately review user privileges to ensure only trusted personnel have high-level access to Foreman and Katello. Implement strict input validation and output encoding on all user-supplied fields, especially the "Description" field, to prevent script injection. Monitor and restrict the use of the vulnerable plugin until a vendor patch is released. Employ Content Security Policy (CSP) headers to limit the impact of potential XSS payloads. Educate users about the risks of interacting with untrusted content within management consoles. Regularly audit Foreman and Katello deployments for unusual activity or unauthorized script injections. Once available, promptly apply official patches from the Foreman or Katello maintainers. Consider isolating management interfaces from general user networks to reduce exposure.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2024-05-13T04:07:48.423Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68e8557cba0e608b4fb1eef7

Added to database: 10/10/2025, 12:38:20 AM

Last enriched: 2/27/2026, 10:29:04 PM

Last updated: 3/25/2026, 4:36:05 AM

Views: 180

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses