CVE-2020-15169
MEDIUM5.4EPSS 1.2%XSS in Action View
發布日:2020/9/11修改日:2026/4/28
描述
In Action View before versions 5.2.4.4 and 6.0.3.3 there is a potential Cross-Site Scripting (XSS) vulnerability in Action View's translation helpers. Views that allow the user to control the default (not found) value of the `t` and `translate` helpers could be susceptible to XSS attacks. When an HTML-unsafe string is passed as the default for a missing translation key named html or ending in _html, the default string is incorrectly marked as HTML-safe and not escaped. This is patched in versions 6.0.3.3 and 5.2.4.4. A workaround without upgrading is proposed in the source advisory.
受影響套件(4)
- Debian/railsfrom 0, < 2:6.0.3.3+dfsg-1
- Debian/railsfrom 0, < 2:4.2.7.1-1+deb9u4
- Debian/railsfrom 0, < 2:5.2.2.1+dfsg-1+deb10u2
- RubyGems/actionviewfrom 0, < 5.2.4.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
參考連結(10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-15169
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-15169
- PATCHhttps://github.com/rails/rails
- WEBhttps://github.com/rails/rails/commit/e663f084460ea56c55c3dc76f78c7caeddeeb02e
- WEBhttps://github.com/rails/rails/security/advisories/GHSA-cfjv-5498-mph5
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-15169.yml
- WEBhttps://groups.google.com/g/rubyonrails-security/c/b-C9kSGXYrc
- WEBhttps://lists.debian.org/debian-lts-announce/2020/10/msg00015.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB
- WEBhttps://www.debian.org/security/2020/dsa-4766