Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

webim-adapter

Latest version: v15.18.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: orhanp
92 Versions
2.9K Downloads

Scan summary

webim-adapter was last scanned on 29 Nov 2026 at version 15.18.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 92 versions; the latest 2 were published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 15.18.0.
  • Downloads: 2,893 downloads.

Versions

92 versions published
Versions and the rules that fired in each
VersionPublishedStatus
15.18.0 LATEST 29 Nov 2026 No rules fired
15.17.0 28 Nov 2026 No rules fired
15.16.0 21 Nov 2026 No rules fired
15.15.8 16 Nov 2026 Not shown
15.15.5 14 Nov 2026 Not shown

No rules fired in 15.18.0

Findings

Findings for v15.18.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 15.18.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

webim-adapter

Render pages built with the Web-IM page builder inside any React app.

npm install webim-adapter
import { WebimPage } from 'webim-adapter';

<WebimPage
  apiUrl="https://webim.app/api" // Web-IM gateway base
  tenant="acme"                        // tenant slug (X-Tenant header)
  slug="landing"                       // published page slug
  locale="tr"                          // optional content locale
  mode="auto"                          // auto | light | dark
  fallback={<Spinner />}               // while loading
  errorFallback={<NotFound />}         // on 404 / network error
  onLoad={(bundle) => (document.title = bundle.seo?.title ?? bundle.title)}
/>

Only published pages render — drafts 404. The component fetches the page (GET /render/:slug) and the tenant's public theme/component libraries (GET /settings/public) in parallel, then renders the block tree with the same renderer the builder uses. Embedded Web-IM forms submit to the public forms engine automatically.

SSR / prefetching

WebimPage fetches on mount. For server rendering, fetch the bundle yourself and render the pure component:

import { fetchPage, WebimContent } from 'webim-adapter';

// in a server loader
const bundle = await fetchPage({ apiUrl, tenant: 'acme', slug: 'landing' });

// in the component tree
<WebimContent bundle={bundle} mode="light" />

Script-tag embed (no React required)

For plain HTML / WordPress-style sites, build/webim-embed.js is a self-contained bundle (React included). Either drop containers and one tag:

<div data-webim-page data-api="https://webim.app/api"
     data-tenant="acme" data-slug="landing" data-mode="auto"></div>
<script src="https://unpkg.com/webim-adapter/build/webim-embed.js"></script>

…or let the script tag place the page right where it sits:

<script src=".../webim-embed.js" data-api="…" data-tenant="acme" data-slug="landing"></script>

data-locale and data-mode (auto|light|dark) work on both. Containers added after load: window.WebimEmbed.scan(), or window.WebimEmbed.mount(el, { apiUrl, tenant, slug, locale, mode }).

Server-rendered HTML (zero-JS consumers / SEO)

The Web-IM gateway serves a complete HTML document per published page:

GET /api/render/:slug/html?tenant=acme&locale=tr&mode=light

Browser-navigable (tenant rides the query string), with the page's SEO meta in the head and custom JS inlined. Static markup: theme, blocks, custom CSS/JS and iframes all work; React-stateful pieces (engine-wired form submits, sliders/tabs, Embed-block markup) stay inert — use the script embed when those matter. The endpoint allows iframing, so <iframe src=".../render/landing/html?tenant=acme"> is also a valid embed.

Node servers can render themselves via webim-adapter/ssr:

import { fetchPage, renderPageDocument, renderBundleHtml } from 'webim-adapter/ssr';

const bundle = await fetchPage({ apiUrl, tenant, slug });
const document = renderPageDocument(bundle, { mode: 'light', lang: 'en' });
const bodyOnly = renderBundleHtml(bundle); // splice into your own layout

Draft previews

Only published pages render publicly. To preview a draft, an authenticated editor mints a signed 30-minute token:

POST /api/pages/:id/preview-token   (Bearer auth)
→ { token, expires_in, slug }

The token unlocks that one page's current state everywhere:

<WebimPage … preview={token} />
await fetchPage({ …, preview: token });
GET /api/render/:slug/html?tenant=acme&preview=<token>

The Pages list in the dashboard has a "Copy preview link" action that mints a token and copies the ready-to-share HTML URL.

Lower-level exports

  • PageRenderer — render a raw blocks tree you already have.
  • renderRichContent(value) — render a rich-text field value from a collection entry. Image/video blocks carry align (left|center|right|full) as pure alignment plus wrap for the float that makes text flow around a left/right image (a block with no wrap key at all is legacy content and still floats), and image links honour target: '_blank' (rendered with rel="noopener noreferrer").
  • resolveTheme(meta, themes) — pick the theme tokens for a page.

Notes

  • Peer deps: react / react-dom 19+ (Google Font links rely on React 19 head hoisting).
  • A page's custom code (meta.custom.js and Embed blocks) executes in the host page — embed content only from tenants you trust, exactly like a tag manager snippet.
  • The Web-IM gateway must allow CORS from the host origin.

Releasing

pnpm release              # bump inferred from the commits since the last tag
pnpm release minor        # force the bump
pnpm release 2.4.0        # force the exact version
pnpm release:dry          # print the plan, change nothing

The script refuses to run on a dirty tree or off master/main. It picks the version (conventional-commit feat: → minor, !/BREAKING CHANGE: → major, anything else → patch), prepends the CHANGELOG.md entry, builds, commits, tags vX.Y.Z and pushes. The publish.yml workflow picks the tag up and publishes to npmjs.com with provenance, then cuts a GitHub release.

Flags: --dry-run, --edit (hand-edit the changelog entry in $EDITOR), --no-changelog, --skip-checks, --no-push, --local, -y.

Publishing from CI uses npm trusted publishing — no NPM_TOKEN. It needs a one-time trusted publisher registered on npmjs.com for webim-adapter pointing at repo morsaken/webim-v15-adapter, workflow publish.yml. Until that exists, use pnpm release --local, which publishes straight from your machine with your own npm login.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm webim-adapter

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229