Yard Doc Vulnerable to Cross-Site Scripting (XSS) Attacks
CVE-2024-27285

6.1MEDIUM

Key Information:

Vendor

Lsegal

Status
Vendor
CVE Published:
28 February 2024

What is CVE-2024-27285?

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 Version(s)

yard < 0.9.36

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.