CVE-2026-40028: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Yamato-Security hayabusa
Hayabusa versions prior to 3.8.0 contain a cross-site scripting (XSS) vulnerability in its HTML report output that allows an attacker to execute arbitrary JavaScript when a user scans JSON-exported logs containing malicious content in the Computer field. An attacker can inject JavaScript into the Computer field of JSON logs that executes in the forensic examiner's browser session when viewing the generated HTML report, leading to information disclosure or code execution.
AI Analysis
Technical Summary
The vulnerability in hayabusa before version 3.8.0 is a cross-site scripting (CWE-79) flaw in the HTML report generation process. Specifically, the Computer field in JSON-exported logs is not properly neutralized, allowing an attacker to embed arbitrary JavaScript code. When a user views the HTML report generated from such logs, the malicious script executes in their browser context. This can result in unauthorized information disclosure or execution of arbitrary code within the user's session. There is no official remediation level or patch currently documented, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the forensic examiner's browser session when viewing the HTML report. This can lead to information disclosure or code execution within that session. The vulnerability requires the attacker to inject malicious content into the Computer field of JSON logs that are later scanned and viewed by the user.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid scanning or viewing JSON-exported logs containing untrusted or suspicious Computer field data in hayabusa versions prior to 3.8.0. Monitoring vendor communications for updates is recommended.
CVE-2026-40028: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Yamato-Security hayabusa
Description
Hayabusa versions prior to 3.8.0 contain a cross-site scripting (XSS) vulnerability in its HTML report output that allows an attacker to execute arbitrary JavaScript when a user scans JSON-exported logs containing malicious content in the Computer field. An attacker can inject JavaScript into the Computer field of JSON logs that executes in the forensic examiner's browser session when viewing the generated HTML report, leading to information disclosure or code execution.
CVSS v4.0
Score 5.1medium
Affected software
pkg:github/yamato-security/hayabusaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in hayabusa before version 3.8.0 is a cross-site scripting (CWE-79) flaw in the HTML report generation process. Specifically, the Computer field in JSON-exported logs is not properly neutralized, allowing an attacker to embed arbitrary JavaScript code. When a user views the HTML report generated from such logs, the malicious script executes in their browser context. This can result in unauthorized information disclosure or execution of arbitrary code within the user's session. There is no official remediation level or patch currently documented, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the forensic examiner's browser session when viewing the HTML report. This can lead to information disclosure or code execution within that session. The vulnerability requires the attacker to inject malicious content into the Computer field of JSON logs that are later scanned and viewed by the user.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid scanning or viewing JSON-exported logs containing untrusted or suspicious Computer field data in hayabusa versions prior to 3.8.0. Monitoring vendor communications for updates is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-08T13:36:47.863Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d6cdb91cc7ad14dab5bf98
Added to database: 04/08/2026, 21:50:49 UTC
Last enriched: 07/15/2026, 10:26:57 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 109
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.