GitHub Advisoryadvisory · RubyGems

GHSA-35mm-cc6r-8fjp Cross-site scripting in actionpack

MEDIUM Published 2021-04-07 Modified 2023-08-08 Official page ↗
Aliases
CVE-2020-8264
Ecosystem
RubyGems
Packages
actionpack
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2021-04-06

Affected packages

• RubyGems actionpack: >= 6.0.0, < 6.0.3.4 → fixed in 6.0.3.4

Description

In actionpack gem >= 6.0.0, a possible XSS vulnerability exists when an application is running in development mode allowing an attacker to send or embed (in another page) a specially crafted URL which can allow the attacker to execute JavaScript in the context of the local application. This vulnerability is in the Actionable Exceptions middleware. Workarounds ----------- Until such time as the patch can be applied, application developers should disable the Actionable Exceptions middleware in their development environment via a line such as this one in their config/environment/development.rb: `config.middleware.delete ActionDispatch::ActionableExceptions`

Related

Alias · CVE (1)

  • CVE-2020-8264 In actionpack gem >= 6.0.0, a possible XSS vulnerability exists when an application is running in development mode allowing an attacker to… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References