Happyforms Proに認証不要で偽装したIPヘッダーから脆弱性、管理画面でスクリプトが実行されるおそれ
Summary
Happyforms Proのクライアント IPの取得処理に脆弱性があり、認証なしで保存型のクロスサイトスクリプティングを仕掛けられます。影響するのは1.38.9までの版で、管理者が送信内容を開いた際にスクリプトが実行されるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
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.
Happyforms Proのクライアント IPの取得処理に脆弱性があり、認証なしで保存型のクロスサイトスクリプティングを仕掛けられます。影響するのは1.38.9までの版で、管理者が送信内容を開いた際にスクリプトが実行されるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| HappyformsHappyforms Pro |
≤ 1.38.9→ 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 Happyforms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via spoofable client IP headers in versions up to, and including, 1.38.9. This is due to the happyforms_get_client_ip() function reading raw HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR request headers without any validation or sanitization, storing the value as post meta ('client_ip') via update_post_meta() during unauthenticated form submissions, and later echoing it in the admin submission edit screen's Details metabox without output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user (typically an administrator reviewing a submission) accesses an injected page.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@wordfence.com
- web security@wordfence.com
- web nvd.nist.gov
- web happyforms.io
- web github.com