CVE-2024-27285

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

MEDIUM
6.1
CVSS Score
Published: February 28, 2024 at 07:22 PM UTC
Updated: June 17, 2026 at 07:19 AM UTC
4 products affected across 4 vendorsDebian LinuxFedoraYard

Using yard by lsegal?

Get instant alerts when new vulnerabilities affect yard - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 1%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.9.360.9.36
Affected range stops below 0.9.36, so it looks safe — our inference, not a vendor statement
v < 0.9.36
Affected range stops below 0.9.36, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card