Skip to main content
CVE-2024-27285VulnerabilityPublished Updated

The "frames.html" file within the Yard Doc's generated documentation is vulnerable to Cross-Site Scripting (XSS)

Affects yardSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.1 Medium · fixed in 0.8.7.6+git20160220-3ubuntu0.1~esm1 : update yard when convenient.

Data as of 24 Nov 2026, 19:26 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.8.7.6+git20160220-3ubuntu0.1~esm1, 0.9.12-2ubuntu0.1~esm1, 0.9.24-1+deb11u1build0.20.04.1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 22.04 LTSyardpkg:deb/ubuntu/yard?arch=source&distro=jammyOther threatsAffected
  • <0.9.26-1ubuntu0.1
Fixed in
  • 0.9.26-1ubuntu0.1
Ubuntu 20.04 LTSyardpkg:deb/ubuntu/yard?arch=source&distro=focalOther threatsAffected
  • <0.9.24-1+deb11u1build0.20.04.1
Fixed in
  • 0.9.24-1+deb11u1build0.20.04.1
Ubuntu Pro 18.04 LTSyardpkg:deb/ubuntu/yard?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <0.9.12-2ubuntu0.1~esm1
Fixed in
  • 0.9.12-2ubuntu0.1~esm1
Ubuntu Pro 16.04 LTSyardpkg:deb/ubuntu/yard?arch=source&distro=esm-apps/xenialOther threatsAffected
  • <0.8.7.6+git20160220-3ubuntu0.1~esm1
Fixed in
  • 0.8.7.6+git20160220-3ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…