GHSA-x8rc-wpg4-grpf

Suggest an improvement
Source
https://github.com/advisories/GHSA-x8rc-wpg4-grpf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-x8rc-wpg4-grpf/GHSA-x8rc-wpg4-grpf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x8rc-wpg4-grpf
Aliases
Published
2026-08-05T15:40:32Z
Modified
2026-08-05T15:46:32.651141182Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
Electron: Cross-origin iframe can position native autofill popup
Details

Impact

The native autofill popup could be positioned by a cross-origin iframe outside that iframe's bounds, over the embedding page's UI, enabling clickjacking or spoofing of trusted UI.

Apps are only affected if they embed untrusted content in iframes within windows that also display trusted UI. Apps that do not embed untrusted third-party content are not affected.

Workarounds

Do not embed untrusted content in iframes inside windows that display trusted UI.

Fixed Versions

  • 42.0.0-beta.3
  • 41.2.1
  • 40.9.0
  • 39.8.8

For more information

If you have any questions or comments about this advisory, email Electron at security@electronjs.org

Database specific
{
    "severity": "LOW",
    "github_reviewed_at": "2026-08-05T15:40:32Z",
    "cwe_ids": [
        "CWE-1021"
    ],
    "nvd_published_at": null,
    "github_reviewed": true
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
39.8.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-x8rc-wpg4-grpf/GHSA-x8rc-wpg4-grpf.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
40.0.0-alpha.1
Fixed
40.9.1

Database specific

last_known_affected_version_range
"< 40.9.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-x8rc-wpg4-grpf/GHSA-x8rc-wpg4-grpf.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
41.0.0-alpha.1
Fixed
41.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-x8rc-wpg4-grpf/GHSA-x8rc-wpg4-grpf.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
42.0.0-alpha.1
Fixed
42.0.0-beta.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-x8rc-wpg4-grpf/GHSA-x8rc-wpg4-grpf.json"