HermitWordPress extension · Hermit Project

CVE-2022-29413

MEDIUM · 6.1 CVSS v3.1 Published 2022-04-28
Fix available
A fix is available. Upgrade to after 3.1.6 or later.
See remediation →
68/100
Remediation priority · Elevated
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Cross-Site Request Forgery (CSRF) leading to Stored Cross-Site Scripting (XSS) in Mufeng's Hermit 音乐播放器 plugin <= 3.1.6 on WordPress via &title parameter.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Hermit 音乐播放器 WordPress plugin versions 3.1.6 and below is vulnerable to Cross-Site Request Forgery (CSRF) that enables Stored Cross-Site Scripting (XSS). Attackers can trick authenticated administrators into clicking malicious links, causing the browser to send crafted requests that inject malicious JavaScript via the &title parameter, which is then stored and executed when other users view the affected content.

MitigationUpdate the Hermit 音乐播放器 plugin to the latest patched version. Additionally, implement anti-CSRF tokens (nonces) for state-changing operations and ensure all user-supplied input, especially the title parameter, is properly sanitized and escaped before storage and output.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
HermitWordPress extension
Affected:<= 3.1.6

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify Hermit plugin installation
    Log into WordPress admin dashboard and navigate to Plugins > Installed Plugins. Look for 'Hermit 音乐播放器' or 'Hermit' in the plugin list.
    Affected if The plugin is not installed or is not present in the WordPress installation.
  2. Identify installed Hermit version
    In the WordPress admin, find the Hermit plugin entry in the Plugins list. The version number is displayed below the plugin name. Alternatively, inspect the file /wp-content/plugins/hermit/class.php or the main plugin header file and locate the 'Version:' comment.
    Affected if The installed version is 3.1.6 or lower.
  3. Check if playlist or playlist item creation is accessible
    Navigate to the Hermit plugin settings or playlist management section in WordPress admin. Look for options to create or edit playlists where the title parameter would be used.
    Affected if The plugin allows creating or editing playlists/playlist items where a title field is present.
  4. Inspect title parameter handling for lack of sanitization
    If you have code access, examine the PHP file that handles playlist title input (typically in the plugin admin panel or shortcode handler). Look for functions like sanitize_text_field, esc_html, or wp_kses applied to the title parameter.
    Affected if The code does not sanitize or escape the title parameter before storage or output, or no anti-CSRF nonce verification is present in the form handling.

You are affected if the Hermit plugin is installed with version 3.1.6 or lower and playlist title editing functionality is accessible without proper CSRF protection and input sanitization.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to a release after 3.1.6
Interim mitigation

Update the Hermit 音乐播放器 plugin to the latest patched version. Additionally, implement anti-CSRF tokens (nonces) for state-changing operations and ensure all user-supplied input, especially the title parameter, is properly sanitized and escaped before storage and output.

Fix this in Hermit Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing2.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,420
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2022-29413 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2022-29413 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data