What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: lsegal yard 0.9.36. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27285 or the next vulnerability affects your stack