Possible XSS vulnerability in ActionView (rails actionview)

CVE-2020-5267
MEDIUM 4.0

At a glance

Source
NVD
EPSS
EPSS 1.52 % Β· percentile 75 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
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.

Weaknesses (CWE)

  • CWE-80 β€” Improper Neutralization of Script-Related HTML Tags in a Web Page
  • CWE-79 β€” Improper Neutralization of Input During Web Page Generation

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.0CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:NGitHub_M
CVSS 3.1MEDIUM 4.0CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:NNVD Β· security-advisories@github.com (Secondary)
CVSS 3.1MEDIUM 4.8CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NNVD Β· nvd@nist.gov (Primary)
CVSS 2.0LOW 3.5AV:N/AC:M/Au:S/C:N/I:P/A:NNVD Β· nvd@nist.gov (Primary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
rails Β· actionviewaffected < 5.2.4.2 ; affected >= 6.0.0, < 6.0.2.2

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD