Skip to content

The 'Copy Image Link' context menu action would copy the...

Moderate severity Unreviewed Published Dec 9, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

The 'Copy Image Link' context menu action would copy the final image URL after redirects. By embedding an image that triggered authentication flows - in conjunction with a Content Security Policy that stopped a redirection chain in the middle - the final image URL could be one that contained an authentication token used to takeover a user account. If a website tricked a user into copy and pasting the image link back to the page, the page would be able to steal the authentication tokens. This was fixed by making the action return the original URL, before any redirects. This vulnerability affects Firefox < 94.

References

Published by the National Vulnerability Database Dec 8, 2021
Published to the GitHub Advisory Database Dec 9, 2021
Last updated Feb 1, 2023

Severity

Moderate

EPSS score

0.084%
(38th percentile)

Weaknesses

CVE ID

CVE-2021-43532

GHSA ID

GHSA-x5xq-hf4g-4cgq

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.