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

Source: https://junglewise.ai/threats/cve-2026-36872-sourcecodester-basic-library-system-sql-injection-in-load-book  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-13. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

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

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.

Technologies: [Razormist Basic Library System](https://junglewise.ai/threats/technologies/basic-library-system). Vendors: [Razormist](https://junglewise.ai/threats/vendors/razormist).

## Quick answers

**Is CVE-2026-36872 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-36872 being exploited in the wild.

**How severe is CVE-2026-36872?** Low severity, with a CVSS score of 2.7, published 13 April 2026.

**Which products and versions are affected?** Sourcecodester Basic Library System 1.0.

**Is there a fix for CVE-2026-36872?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-36872 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-36872?** Check whether you run Razormist Basic Library System. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## 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

- [https://github.com/Thirtypenny77/bug_report/blob/main/sourcecodester/basic-library-system/SQL-1.md](https://github.com/Thirtypenny77/bug_report/blob/main/sourcecodester/basic-library-system/SQL-1.md)

## Related threats

- [Sourcecodester Basic Library System SQL injection in load_student.php](https://junglewise.ai/threats/cve-2026-36874-sourcecodester-basic-library-system-sql-injection-in-load-student)
- [Sourcecodester Basic Library System SQL injection in load_admin.php](https://junglewise.ai/threats/cve-2026-36873-sourcecodester-basic-library-system-sql-injection-in-load-admin)
