CVE-2024-27285

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

Published Feb 28, 2024 CVSS 3.1 · 5.4 Medium EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3753-1 yard security update
Debian DSA Debian DSA DSA-5635-1 yard security update
EUVD EUVD EUVD-2024-0579 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.
Github GHSA Github GHSA GHSA-8mq4-9jjh-9xrc YARD's default template vulnerable to Cross-site Scripting in generated frames.html
Ubuntu USN Ubuntu USN USN-6731-1 YARD vulnerabilities
History
Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
Fedoraproject
Fedoraproject fedora
CPEs cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Fedoraproject
Fedoraproject fedora
Type Values Removed Values Added
First Time appeared Yardoc
Yardoc yard
CPEs cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*
Vendors & Products Yardoc
Yardoc yard
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 5:46 PM
Reserved
Feb 22, 2024, 6:08 PM
Status
Analyzed
Published
Feb 28, 2024, 8:15 PM
Modified
Jun 17, 2026, 7:19 AM
Severity
Moderate
Public date
Feb 28, 2024, 12:00 AM