Junglewise Threat Intelligence

CVE-2026-36872: Sourcecodester Basic Library System SQL injection in load_book.php

CVE-2026-36872 · Severity: low · CVSS 2.7 · Published 2026-04-13

Technologies: Razormist Basic Library System. Vendors: Razormist, SourceCodester.

Executive brief

Sourcecodester Basic Library System is a web application used for managing library book inventories. A security flaw allows an authorized user, such as an administrator, to perform unauthorized database queries. This could lead to the exposure of sensitive internal database information, though it requires existing high-level access to the system.

Technical details

A SQL injection vulnerability exists in Sourcecodester Basic Library System v1.0 within the 'book_id' parameter of the /librarysystem/load_book.php component. The application fails to properly sanitize user-supplied input before using it in a database query, allowing for Union-based SQL injection. An attacker with high-privileged access (e.g., an administrator) can exploit this to leak database metadata or other sensitive information. The vulnerability was demonstrated using a payload that extracts the database name via a UNION SELECT statement. No official patch is currently documented.

Affected products

  • Sourcecodester Basic Library System 1.0

Timeline

  • 2026-04-13: disclosed
  • 2026-04-13: advisory

References

Related threats