Live threats

All CVEs / Yardoc

CVE-2024-27285Yardoc Yard

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
No
Published
Feb 28, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

YARD is a Ruby Documentation tool. The "frames.html" file within the Yard Doc's generated documentation is vulnerable to Cross-Site Scripting (XSS) attacks due to inadequate sanitization of user input within the JavaScript segment of the "frames.erb" template file. This vulnerability is fixed in 0.9.36.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yard.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems yard < 0.9.36 0.9.36 gem "yard", ">= 0.9.36"

Per OSV / GitHub Advisories (GHSA-8mq4-9jjh-9xrc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yardocyard< 0.9.36
fedoraprojectfedora38
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.