CVE-2024-27285CWE-79

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

Medium · published February 28, 2024

CVSS v3.1
5.4
EPSS
1%
Percentile
64.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.01060 · 64.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2024-02-28T19:22Z
EPSS history
Timeline
  • 28 FEB 19:22Z
    YARD's default template vulnerable to Cross-site Scripting in generated frames.html
    cvelistv5