Skip to content

[Medium] Preview card renders fully attacker-chosen label text with no origin indicator — link target and displayed identity can disagree #33

Open

Description

@primeobsession

What's wrong

large/small/x/facebook show site_name/title as the link text and independently bind href=url. linkedIn.js is the exception (label from psl.parse host).

Impact

Phishing under the host application's visual authority.

Where

opengraph-react + src/components/small.js:29; src/components/large.js:48

Blame: BlArcher3127 106981675+BlArcher3127@users.noreply.github.com 5777c076f2d311e095a636a55408bd66ecb89c89

Fix

Derive the visible host from the href (linkedIn pattern) or show both. Do not trust og:site_name as identity.

Catalog

  • ARAD: ARAD-OGR-006
  • CWE: CWE-451
  • CVSS: 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Section: WSTG-4.11 Client-side Testing
  • Ref: src/components/small.js:29 (master)
  • Verification: verified

Activity

  1. added
    security
    arad
    on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    aradsecurityseverity:medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions