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

django-wagtail-blocks-exchange

Latest version: v0.1.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: aymane_nahji
0 Stars
0 Forks
2 Versions
Python Repo language

Scan summary

django-wagtail-blocks-exchange was last scanned on 29 Nov 2026 at version 0.1.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.1.1.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.1 LATEST 29 Nov 2026 No rules fired
0.1.0 29 Nov 2026 No rules fired

No rules fired in 0.1.1

Findings

Findings for v0.1.1. 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 0.1.1; other versions have their own rules, not their own score.

README

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

django-wagtail-blocks-exchange

Copy StreamField blocks between pages from the Wagtail editor — pick target pages and which StreamFields receive the block, without leaving the admin.

Portable Django package · MIT · by Aymane Nahji

Python 3.11+ Django 5+ Wagtail 6+ License: MIT


Why this package

Reuse a hero, testimonial, or promo block across the site without copy-paste in JSON or duplicate drafts by hand. Copy to pages appears on every block in every StreamField on the page editor — no single body field baked in.

  • Zero config — add the app; buttons show up when StreamFields render.
  • Smart targets — only pages you can edit that already support the block type on at least one StreamField.
  • Multi-select — many pages and many fields in one action; block is prepended at the top of each chosen field (new draft revision).
  • Staff-only API — CSRF-protected JSON and form endpoints under the admin prefix.

Quick start

pip install django-wagtail-blocks-exchange
INSTALLED_APPS = [
    # ...
    "wagtail",
    "wagtail_blocks_exchange",
]
python manage.py collectstatic --noinput   # production

Open any page with stream content, expand a block, and click Copy to pages.


Optional allowlist

Restrict which field names get server-side copy UI:

WAGTAIL_BLOCKS_EXCHANGE_STREAM_FIELDS = ["body", "footer"]

Legacy WAGTAIL_BLOCKS_EXCHANGE_BODY_FIELD is treated as a one-item allowlist. When unset, all StreamFields on the model are eligible.


Editor workflow

  1. Edit a page and open a block in any StreamField.
  2. Click Copy to pages.
  3. Choose target page(s), then the StreamField(s) on each page that should receive the block.
  4. Each target saves a draft revision — publish when you are ready.

Deep dive (security, i18n, copying rules): wagtail_blocks_exchange/README.md.


Admin API

Under the Wagtail admin prefix at blocks-exchange/:

Endpoint Method Purpose
eligible-pages/ POST JSON List editable pages that can accept the block type
copy-block/ POST form or JSON Copy block payload to selected pages and fields

eligible-pages/ accepts source_page_id, block_type, and optional source_stream_field_name. Responses include stream_fields per page.


Requirements

Dependency Version
Python 3.11+
Django 5.0+
Wagtail 6.0+

Source and target page models must share the same block type key in their stream definitions. The user needs edit permission on the source and every target.


Develop & test

pip install -e ".[dev]"
PYTHONPATH=. DJANGO_SETTINGS_MODULE=tests_project.settings python -m django test wagtail_blocks_exchange

Uses tests_project/ with BlocksExchangeTestPage.


Wagtail toolkit

Package Role
django-wagtail-ai-generation AI-assisted stream editing on the same page UI
django-wagtail-icon-chooser Lucide values copy as plain strings with the block

License

MIT — see LICENSE.

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).

  • pypi-releases django-wagtail-blocks-exchange

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

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229