
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
.. image:: https://img.shields.io/pypi/v/web-fragments.svg :target: https://pypi.python.org/pypi/web-fragments/ :alt: PyPI
.. image:: https://github.com/openedx/web-fragments/workflows/Python%20CI/badge.svg?branch=master :target: https://github.com/openedx/web-fragments/actions?query=workflow%3A%22Python+CI%22 :alt: CI
.. image:: http://codecov.io/github/edx/web-fragments/coverage.svg?branch=master :target: http://codecov.io/github/edx/web-fragments?branch=master :alt: Codecov
.. image:: http://web-fragments.readthedocs.io/en/latest/?badge=latest :target: http://web-fragments.readthedocs.io/en/latest/ :alt: Documentation
.. image:: https://img.shields.io/pypi/pyversions/web-fragments.svg :target: https://pypi.python.org/pypi/web-fragments/ :alt: Supported Python versions
.. image:: https://img.shields.io/github/license/edx/web-fragments.svg :target: https://github.com/openedx/web-fragments/blob/master/LICENSE.txt :alt: License
The web fragments library provides a Python and Django implementation for managing fragments of web pages. In particular, this library refactors the fragment code from XBlock into a standalone implementation.
A Django view subclass called FragmentView is provided which supports three different ways of rendering a fragment into a page:
The rationale behind this design can be found in OEP-12
_.
The intention is that a client-side implementation will be provided in a subsequent version. This should provide JavaScript code to request fragements over AJAX and then dynamically update the current page. This logic will be a refactoring of the current implementation in edx-platform for rendering XBlocks. It is also intended that this functionality will enhance the capabilities around dependency loading.
.. Documentation .. ------------- .. .. The full documentation is at https://web-fragments.readthedocs.org.
The code in this repository is licensed under the AGPL 3.0 unless otherwise noted.
Please see LICENSE.txt
for details.
Contributions are very welcome. Please read the Open edX Contributing Guide
_ for details.
.. _the Open edX Contributing Guide: https://github.com/openedx/.github/blob/master/CONTRIBUTING.md
Please do not report security issues in public. Please email security@openedx.org.
Have a question about this repository, or about Open edX in general? Please
refer to the Open edX guide to Getting Help
_.
.. _Getting Help: https://open.edx.org/getting-help
We don't maintain a detailed changelog. For details of changes, see the
GitHub commit history
_.
.. _GitHub commit history: https://github.com/openedx/web-fragments/commits/master
FAQs
Web fragments
We found that web-fragments demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.