We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
外部APIを叩いて取得したtoot(JSON)をパースしてそのまま表示していますが、エスケープ処理がされていないため悪意のあるJSONデータが返却された場合に任意のjavascriptを実行することが可能です。
Qiitadon以外のインスタンスも指定できる仕様ですので、外部データは常に危険であるという前提でエスケープ処理を行う必要があります。
xss payload : https://api.myjson.com/bins/158yga
The text was updated successfully, but these errors were encountered:
#91 の Tabnabbing も勉強になったから対応してみようかな。(できるとは言ってない
Sorry, something went wrong.
PR #104 で対応しています。無理だったらごめんちゃい
#104 (comment) にも書きましたが、検証例おいておきますね https://deploy-preview-104--zen-edison-40804e.netlify.com/p.html?i=https://repos.irregular-at-tus.work&t=1 https://repos.irregular-at-tus.work に検証のためにファイルおきたい場合は声かけてください。
No branches or pull requests
外部APIを叩いて取得したtoot(JSON)をパースしてそのまま表示していますが、エスケープ処理がされていないため悪意のあるJSONデータが返却された場合に任意のjavascriptを実行することが可能です。
Qiitadon以外のインスタンスも指定できる仕様ですので、外部データは常に危険であるという前提でエスケープ処理を行う必要があります。
xss payload : https://api.myjson.com/bins/158yga
The text was updated successfully, but these errors were encountered: