Skip to content

Apply a recommended fix for SQL Injection in dotCMS/core #32581

@mbiuki

Description

@mbiuki

final ContainerForm containerForm) throws DotDataException, DotSecurityException {

Description
User data flows into this manually-constructed SQL string. User data can be safely inserted into SQL strings using prepared statements or an object-relational mapper (ORM). Manually-constructed SQL strings is a possible indicator of SQL injection, which could let an attacker steal or manipulate data from the database. Instead, use prepared statements (connection.PreparedStatement) or a safe library.

Metadata

Metadata

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions