Skip to content

Conversation

@keelerm84
Copy link
Member

The documentation generated from yard creates a frames.html file.
This file is susceptible to XSS attacks.

Additionally, this page can act as an open redirect (e.g.
https://launchdarkly.github.io/ruby-server-sdk/frames.html#!////example.com).

To remediate this problem, we are going to simply remove the generate
frames.html file. This file was created to support classical frameset
views for the docs
, which we have no need to support.

The documentation generated from `yard` creates a [frames.html][1] file.
This file is susceptible to XSS attacks.

Additionally, this page can act as an open redirect (e.g.
https://launchdarkly.github.io/ruby-server-sdk/frames.html#!////example.com).

To remediate this problem, we are going to simply remove the generate
frames.html file. This file was created to [support classical frameset
views for the docs][2], which we have no need to support.

[1]: https://github.com/lsegal/yard/blob/2d197a381c5d4cc5c55b2c60fff992b31c986361/templates/default/fulldoc/html/frames.erb
[2]: lsegal/yard@dc0fcb4
@keelerm84 keelerm84 requested a review from a team February 28, 2024 18:14
@shortcut-integration
Copy link

@keelerm84 keelerm84 merged commit a343458 into main Feb 28, 2024
@keelerm84 keelerm84 deleted the mk/sc-234563/frames branch February 28, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants