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-42906: n/a

0
Medium
VulnerabilityCVE-2024-42906cvecve-2024-42906
Published: Mon Aug 26 2024 (08/26/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

TestLink before v.1.9.20 is vulnerable to Cross Site Scripting (XSS) via the pop-up on upload file. When uploading a file, the XSS payload can be entered into the file name.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 06:20:10 UTC

Technical Analysis

CVE-2024-42906 is a Cross Site Scripting (XSS) vulnerability identified in TestLink, an open-source test management tool widely used for software quality assurance. The vulnerability exists in versions prior to 1.9.20 and is triggered via the file upload pop-up interface. Specifically, when a user uploads a file, the file name input is not properly sanitized or encoded, allowing an attacker to inject malicious JavaScript code. This injected script executes in the context of the victim's browser when the file upload pop-up is rendered, potentially enabling session hijacking, theft of sensitive information, or manipulation of the user interface. The vulnerability has a CVSS v3.1 base score of 4.1, indicating medium severity. The attack vector is physical or remote (AV:P), with low attack complexity (AC:L), no privileges required (PR:N), but user interaction is necessary (UI:R). The scope is unchanged (S:U), and the impact on confidentiality, integrity, and availability is low (C:L/I:L/A:L). No public exploits have been reported yet, and no patches are linked in the provided data, but upgrading to version 1.9.20 or later is recommended. The vulnerability is classified under CWE-79, which covers improper neutralization of input during web page generation leading to XSS.

Potential Impact

The primary impact of CVE-2024-42906 is the potential execution of malicious scripts in the context of a user's browser session when interacting with the vulnerable TestLink file upload feature. This can lead to limited confidentiality breaches such as theft of session cookies or credentials, integrity issues like unauthorized UI manipulation or injection of misleading content, and availability impacts if the injected script disrupts normal application behavior. While the attack requires user interaction (uploading a file with a crafted name), it does not require authentication or elevated privileges, increasing the risk in environments where users have access to the upload functionality. Organizations relying on TestLink for test management may face risks of targeted attacks aiming to compromise user sessions or inject malicious content, potentially affecting internal software development and testing workflows. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers often develop exploits after public disclosure. The medium severity rating reflects the moderate impact and exploitation complexity.

Mitigation Recommendations

To mitigate CVE-2024-42906, organizations should upgrade TestLink installations to version 1.9.20 or later, where the vulnerability is addressed. If immediate upgrade is not feasible, implement strict input validation and sanitization on file names during upload to neutralize potentially malicious scripts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the browser context. Limit file upload permissions to trusted users only and monitor upload activities for suspicious file names. Additionally, educate users about the risks of interacting with untrusted file uploads and encourage cautious behavior. Regularly review and update web application firewalls (WAFs) to detect and block XSS payloads targeting the upload interface. Finally, maintain an incident response plan to quickly address any exploitation attempts.

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
mitre
Date Reserved
2024-08-05T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6cd0b7ef31ef0b569472

Added to database: 2/25/2026, 9:42:40 PM

Last enriched: 2/28/2026, 6:20:10 AM

Last updated: 4/12/2026, 3:38:54 PM

Views: 10

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