Possible XSS vulnerability in ActionView (rails actionview)
En bref
- Source
- NVD
- EPSS
- EPSS 1.52 % · centile 75 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Modified
Description
In ActionView before versions 6.0.2.2 and 5.2.4.2, there is a possible XSS vulnerability in ActionView's JavaScript literal escape helpers. Views that use the `j` or `escape_javascript` methods may be susceptible to XSS attacks. The issue is fixed in versions 6.0.2.2 and 5.2.4.2.
Faiblesses (CWE)
- CWE-80 — Improper Neutralization of Script-Related HTML Tags in a Web Page
- CWE-79 — Injection de code indirecte (XSS)
Références
- https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv
- https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a
- http://www.openwall.com/lists/oss-security/2020/03/19/1
- https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-65cv-r6x7-79hv — Cross site scripting vulnerability in ActionView
Références européennes
- ENISA EUVD · EUVD-2020-0332
- GCVE · GCVE-0-2020-5267
Configurations affectées (CPE NVD)
cpe:2.3:a:rubyonrails:actionview:*:*:*:*:*:*:*:*< 5.2.4.2cpe:2.3:a:rubyonrails:actionview:*:*:*:*:*:*:*:*≥ 6.0.0 < 6.0.2.2cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| rails · actionview | affected < 5.2.4.2 ; affected >= 6.0.0, < 6.0.2.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |