Creating a tag with a single quote in the name causes SQL crashes #1096

Closed
opened 2026-02-06 20:30:27 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @SenorSmartyPants on GitHub (Nov 29, 2019).

Describe the bug

This is a bug as old as time.

To Reproduce

Edit series metadata, add tag "Don't Show"
Edit user, block items with tag, add tag "Don't Show"
watch explosions.

Expected behavior

no crashes

Logs

System (please complete the following information):

  • OS: Docker
  • Browser: Chrome
  • Jellyfin Version: 10.4.1
  • Reverse proxy: no
Originally created by @SenorSmartyPants on GitHub (Nov 29, 2019). **Describe the bug** <!-- A clear and concise description of what the bug is. --> This is a bug as old as time. **To Reproduce** <!-- Steps to reproduce the behavior: --> Edit series metadata, add tag "Don't Show" Edit user, block items with tag, add tag "Don't Show" watch explosions. **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> no crashes **Logs** <!-- Please paste any log errors. --> **System (please complete the following information):** - OS: Docker - Browser: Chrome - Jellyfin Version: 10.4.1 - Reverse proxy: no
OVERLORD added the bugconfirmedsecurity labels 2026-02-06 20:30:27 +03:00
Author
Owner

@dkanada commented on GitHub (Nov 30, 2019):

I added the confirmed label because we need to keep this open until it gets resolved. As mentioned previously, the server should never crash from a client request.

@dkanada commented on GitHub (Nov 30, 2019): I added the confirmed label because we need to keep this open until it gets resolved. As mentioned previously, the server should never crash from a client request.
Author
Owner

@dkanada commented on GitHub (Nov 30, 2019):

Might as well mention that adding devices with names that include special characters will also crash the server.

@dkanada commented on GitHub (Nov 30, 2019): Might as well mention that adding devices with names that include special characters will also crash the server.
Author
Owner

@JustAMan commented on GitHub (Dec 2, 2019):

This is also most likely a security issue as (I guess) it fails due to SQL injection.

@JustAMan commented on GitHub (Dec 2, 2019): This is also most likely a security issue as (I guess) it fails due to SQL injection.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#1096