Read the docs
TI-2024-18124 Aliases CVE-2024-27285GHSA-8mq4-9jjh-9xrc

YARD's default template vulnerable to Cross-site Scripting in generated frames.html

Priority MEDIUM 60CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0106 64th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial yard (lsegal): 0.9.36yard (RubyGems): 0.9.36Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
lsegalyardbefore 0.9.360.9.36Patch availableCNA
—yard (RubyGems)before 0.9.360.9.36Patch availableGHSA-8mq4-9jjh-9xrc
  • yard Vendorlsegal Affected before 0.9.36 Fixed in 0.9.36 Patch available CNA
  • yard (RubyGems) Vendor— Affected before 0.9.36 Fixed in 0.9.36 Patch available GHSA-8mq4-9jjh-9xrc

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*before 0.9.36VulnerableYardoc
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*38VulnerableFedoraproject
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:* Versions before 0.9.36 Vulnerable ·Yardoc
  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · CNA yard (lsegal) Fixed in 0.9.36
  • Fix · GHSA-8mq4-9jjh-9xrc yard (RubyGems) Fixed in 0.9.36 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Satellite 6AffectedNo fix yet
Not affected: 2 products
  • Red Hat OpenStack Platform 16.1
  • Red Hat OpenStack Platform 16.2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-27285
  2. 2026-10-03 Alias added: GHSA-8mq4-9jjh-9xrc

References

  • TI-2026-36519 YARD static cache reads raw traversal paths before router sanitization CVSS 3.1MEDIUM 5.3

Sources