# GHSA-76w8-mqx4-wjrf: Doctrine DBAL SQL injection possibility

- Severity: High 8.1 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-15T18:42:20.000Z
- Modified: 2024-05-15T18:42:20.000Z

## Description

The identifier quoting in Doctrine DBAL has a potential security problem when user-input is passed into this function, making the security aspect of this functionality obsolete.
If you make use of AbstractPlatform::quoteIdentifier() or Doctrine::quoteIdentifier() please upgrade immediately. The ORM itself does not use identifier quoting in combination with user-input, however we still urge everyone to update to the latest version of DBAL.

(As written by GitHub Advisory Database.)

## Affected

- doctrine/dbal (Packagist): from 2.0.0 before 2.0.8; from 2.1.0 before 2.1.2

## References

- <https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/dbal/2011-09-25.yaml> (web)
- <https://github.com/doctrine/dbal> (package)
- <https://web.archive.org/web/20130208100252/https://www.doctrine-project.org/blog/dbal-security-2011-1.html> (web)

## Sources

- GitHub Advisory Database: [GHSA-76w8-mqx4-wjrf](https://github.com/advisories/GHSA-76w8-mqx4-wjrf), CC-BY-4.0, modified 2024-05-15

---

Page: https://cve.day/GHSA-76w8-mqx4-wjrf · Whole record: https://cve.day/GHSA-76w8-mqx4-wjrf.json · Rebuilt by cve.day 2026-11-25T22:56:31.425Z
