CVE-2026-145647 in Snipe-ITinfo

Summary

by MITRE • 12/06/2026

Snipe-IT from 8.7.0 before 8.8.0 contains a DOM-based cross-site scripting vulnerability that allows unauthenticated attackers to execute JavaScript by injecting HTML through unescaped filter[] parameter names on advanced search listing pages. Attackers can deliver crafted links that break out of the data-field attribute in filter tags, running scripts in an admin's session to read data, modify users, or change permissions.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 12/06/2026

The vulnerability identified within Snipe-IT versions prior to 8.8.0 represents a critical security flaw classified as a DOM-based cross-site scripting issue. This specific type of vulnerability differs from traditional reflected or stored XSS because the malicious script execution is triggered on the client side through modifications to the Document Object Model rather than server-side rendering errors. The root cause lies in the application's handling of input parameters within its advanced search functionality, specifically regarding how unescaped filter parameter names are processed by the frontend JavaScript code. When a user interacts with the advanced search listing pages, the system takes values from URL query strings or form inputs and injects them directly into HTML attributes without adequate sanitization or encoding checks on the client side.

The technical mechanism of this exploit involves an attacker crafting a maliciously constructed link that contains specially designed filter parameters in its query string. When an administrator clicks this link, their browser parses the URL and attempts to render the search interface. The vulnerable JavaScript code extracts the value from the unescaped filter parameter and inserts it into a data-field attribute within HTML tags. Because the input is not properly escaped, the attacker can inject closing quotes for the attribute followed by arbitrary JavaScript event handlers or script blocks. This allows the injected payload to break out of its intended context as mere text content and execute as active code within the browser environment associated with that page load.

The operational impact of this vulnerability is severe due to the potential for unauthenticated attack initiation combined with high-privilege session hijacking capabilities. Although an attacker does not need valid credentials to craft or send the malicious link, the execution context relies on a privileged user, such as an administrator, viewing the compromised page. Once executed within the admin's browser session, the injected JavaScript inherits all cookies and authentication tokens associated with that session. This grants the attacker full control over the Snipe-IT application interface from the perspective of the victim. The adversary can read sensitive asset data, modify user accounts to escalate privileges or create backdoor access points, alter permission settings to weaken overall security posture, and potentially exfiltrate confidential inventory information to external servers controlled by the attacker.

From a classification standpoint, this vulnerability aligns with CWE-79, which covers Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. More specifically, it falls under DOM-based XSS where the sink is located in client-side JavaScript code rather than server-generated HTML. In terms of offensive security frameworks such as MITRE ATT&CK, this technique corresponds to T1059 Command and Scripting Interpreter: JavaScript, which describes how attackers use scripting languages like JavaScript within a browser environment to execute arbitrary commands or perform reconnaissance actions against web applications. The attack vector is categorized under Initial Access via Spearphishing Link if the malicious URL is delivered through social engineering, leveraging the trust users place in links shared by colleagues or sent from seemingly legitimate sources.

Mitigation strategies must address both immediate remediation and long-term defensive coding practices. The primary solution involves upgrading Snipe-IT to version 8.8.0 or later where this specific input validation flaw has been patched by implementing proper output encoding for all dynamic content inserted into HTML attributes. Developers should ensure that any data derived from URL parameters is strictly validated against a whitelist of allowed characters before being used in DOM manipulation operations. Additionally, implementing Content Security Policy headers can provide an additional layer of defense by restricting the sources from which scripts are allowed to execute, thereby mitigating the impact even if some injection attempts succeed. For administrators currently running vulnerable versions, it is crucial to monitor access logs for unusual query string patterns and restrict direct exposure of advanced search pages to unauthenticated users until the patch can be applied in production environments.

Responsible

VulnCheck

Reservation

12/05/2026

Disclosure

12/06/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!