Advisory

GHSA-35mm-cc6r-8fjp

Also known as: CVE-2020-8264

Summary

Cross-site scripting in actionpack

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-07 20:58 UTC
Modified
2024-02-16 07:59 UTC

Affected packages and fixes

actionpack

RubyGems · All systems

Affected

  • introduced 6.0.0, fixed 6.0.3.4 (ecosystem)

Fixed versions

6.0.3.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences