Exploit database

GH-7f23bb1863af2241fd7aba0b0233a874

loic-houchi/django-faille-cve-2025-57833_test

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-57833

5 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files14

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

venv/lib/python3.8/site-packages/django/contrib/auth/migrations/0007_alter_validators_add_error_messages.py

Python · 802 bytes
from django.contrib.auth import validators
from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("auth", "0006_require_contenttypes_0002"),
    ]

    operations = [
        migrations.AlterField(
            model_name="user",
            name="username",
            field=models.CharField(
                error_messages={"unique": "A user with that username already exists."},
                help_text=(
                    "Required. 30 characters or fewer. Letters, digits and @/./+/-/_ "
                    "only."
                ),
                max_length=30,
                unique=True,
                validators=[validators.UnicodeUsernameValidator()],
                verbose_name="username",
            ),
        ),
    ]