WP-HTML-Compressionに未認証で悪意のあるスクリプトを仕込まれる脆弱性
Summary
WP-HTML-Compressionの0.5.8以前には、コメントの投稿者URLとコメント本文のリンクを通じて、未認証の攻撃者が保存型のクロスサイトスクリプティングを行える脆弱性があります。管理者が攻撃者の最初のコメントを承認すると、以後の仕込まれたコメントが自動承認され、訪問者のブラウザーでスクリプトが実行されるおそれがあります。CVSSは7.2です。修正版の情報は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
WP-HTML-Compressionの0.5.8以前には、コメントの投稿者URLとコメント本文のリンクを通じて、未認証の攻撃者が保存型のクロスサイトスクリプティングを行える脆弱性があります。管理者が攻撃者の最初のコメントを承認すると、以後の仕込まれたコメントが自動承認され、訪問者のブラウザーでスクリプトが実行されるおそれがあります。CVSSは7.2です。修正版の情報は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| promethWP-HTML-Compression |
≤ 0.5.8→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The WP-HTML-Compression plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'url (comment_author_url) and anchor href inside comment' parameter in all versions up to, and including, 0.5.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires that the attacker's comment is approved; under WordPress's default discussion settings, an administrator must first approve one prior comment from the attacker before subsequent payload-carrying comments are auto-approved and served to all visitors.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web nvd.nist.gov
- web github.com