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-2026-42052: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in beetbox beets

0
Medium
VulnerabilityCVE-2026-42052cvecve-2026-42052cwe-79
Published: Mon May 04 2026 (05/04/2026, 17:06:23 UTC)
Source: CVE Database V5
Vendor/Project: beetbox
Product: beets

Description

Beets is the media library management system. Prior to version 2.10.0, the bundled web UI uses Underscore template interpolation mode <%= ... %> for untrusted metadata fields. In this runtime, <%= ... %> is raw insertion and HTML escaping is only performed by <%- ... %>. Rendered output is then inserted with .html(...), allowing attacker-controlled markup to become active DOM. This issue has been patched in version 2.10.0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/04/2026, 18:07:19 UTC

Technical Analysis

CVE-2026-42052 is a cross-site scripting vulnerability in beetbox's beets media library management system. Before version 2.10.0, the bundled web UI used Underscore.js template interpolation mode <%= ... %> to insert untrusted metadata fields without HTML escaping, resulting in raw insertion of potentially malicious markup. This output was then inserted into the DOM using .html(...), enabling active attacker-controlled content execution. The issue was resolved by correcting the template usage in version 2.10.0 to properly escape untrusted input.

Potential Impact

An attacker could exploit this vulnerability by injecting malicious scripts into metadata fields that are rendered in the web UI, potentially leading to execution of arbitrary scripts in the context of the user's browser. This could result in actions such as session hijacking or unauthorized actions within the web UI. The vulnerability requires user interaction (UI:P) and has a medium severity score (6.0). There are no known exploits in the wild at this time.

Mitigation Recommendations

This vulnerability has been patched in beets version 2.10.0. Users and administrators should upgrade to version 2.10.0 or later to remediate this issue. No other specific mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/4/2026, 6:07:19 PM

Last updated: 5/5/2026, 5:55:50 AM

Views: 4

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