
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
djangocms-named-menus
Advanced tools
Allows you to add and edit custom named menus similar to Wordpress menus
An extension for Django CMS that allows you to create multiple menus like Wordpress
This replaces the previous versions by Ryan Bagwell and Rogerio Carrasqueira which are no longer actively updated
Originally forked from:
Install with pip pip install djangocms-named-menus
Add cms_named_menus
to INSTALLED_APPS
Run migrations python manage.py migrate
Uninstall previous version with pip pip uninstall -y django-cms-named-menus
The migrations and code will pick up previous versions correctly.
After installation, place the {% show_named_menu 'MenuName' %}
template tag where you want your menu to appear.
{% load named_cms_menu_tags %}
<ul>
{% show_named_menu "Main Menu" %}
</ul>
Next, create your menu in the admin area using the drag and drop interface. Drag items with child menu items:
Drag items without child menu items:
The following settings can be changed by adding to your project's settings.py file:
CMS_NAMED_MENUS_CACHE_DURATION = 3600
CMS_NAMED_MENUS_NAMESPACES = ['CMSMenu',]
or to allow ALL namespaces:
CMS_NAMED_MENUS_NAMESPACES = None
CMS_NAMED_MENUS_REMOVE_UNAVAILABLE_PAGES = True
FAQs
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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.