CVE-2026-42052: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in beetbox beets
Beets, a media library management system, had a cross-site scripting (XSS) vulnerability in its bundled web UI prior to version 2.10.0. The issue arose because the web UI used Underscore template interpolation mode <%= ... %> for untrusted metadata fields, which inserts raw content without HTML escaping. This allowed attacker-controlled markup to become active in the DOM. The vulnerability has been patched in version 2.10.0. The CVSS 4.
AI Analysis
Technical Summary
CVE-2026-42052 is a cross-site scripting vulnerability in the beetbox beets media library management system. Before version 2.10.0, the bundled web UI used Underscore's <%= ... %> interpolation for untrusted metadata fields, which performs raw insertion without HTML escaping. Since the rendered output is inserted using .html(...), attacker-controlled markup can execute in the DOM. This vulnerability was addressed and fixed in beets version 2.10.0.
Potential Impact
An attacker can inject malicious scripts into the web UI by exploiting improper neutralization of input, potentially leading to script execution in the context of the victim's browser. This can result in actions such as session hijacking or other client-side attacks. The vulnerability requires user interaction and no privileges, with medium complexity to exploit.
Mitigation Recommendations
Upgrade beets to version 2.10.0 or later, where this vulnerability has been patched. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the vendor advisory stating the issue is fixed in version 2.10.0.
CVE-2026-42052: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in beetbox beets
Description
Beets, a media library management system, had a cross-site scripting (XSS) vulnerability in its bundled web UI prior to version 2.10.0. The issue arose because the web UI used Underscore template interpolation mode <%= ... %> for untrusted metadata fields, which inserts raw content without HTML escaping. This allowed attacker-controlled markup to become active in the DOM. The vulnerability has been patched in version 2.10.0. The CVSS 4.
CVSS v4.0
Score 6.0medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42052 is a cross-site scripting vulnerability in the beetbox beets media library management system. Before version 2.10.0, the bundled web UI used Underscore's <%= ... %> interpolation for untrusted metadata fields, which performs raw insertion without HTML escaping. Since the rendered output is inserted using .html(...), attacker-controlled markup can execute in the DOM. This vulnerability was addressed and fixed in beets version 2.10.0.
Potential Impact
An attacker can inject malicious scripts into the web UI by exploiting improper neutralization of input, potentially leading to script execution in the context of the victim's browser. This can result in actions such as session hijacking or other client-side attacks. The vulnerability requires user interaction and no privileges, with medium complexity to exploit.
Mitigation Recommendations
Upgrade beets to version 2.10.0 or later, where this vulnerability has been patched. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the vendor advisory stating the issue is fixed in version 2.10.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-23T16:05:01.710Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f8dc9fcbff5d86103c00f6
Added to database: 5/4/2026, 5:51:27 PM
Last enriched: 5/12/2026, 6:24:29 AM
Last updated: 6/18/2026, 11:45:42 PM
Views: 54
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.