COMMON WEAKNESS ENUMERATIONIncomplete
CWE-1427
Improper Neutralization of Input Used for LLM Prompting
Abstraction
Base
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Extended description
Terminology
Alternate terms and usages
prompt injection
Root cause
How and when does the problem arise?
Lifecycle phase
Architecture and Design
Lifecycle phase
Implementation
Lifecycle phase
Implementation
Lifecycle phase
System Configuration
Lifecycle phase
Integration
Lifecycle phase
Bundling
Risk
What does successful exploitation lead to?
Execute Unauthorized Code or CommandsVaries by Context
Read Application Data
Modify Application DataExecute Unauthorized Code or Commands
Read Application DataModify Application DataGain Privileges or Assume Identity
Defence
How is it prevented and fixed?
Architecture and Design
Architecture and design approach
Detail
Architecture and Design
Architecture and design approach
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Architecture and Design
Architecture and design approach
Detail
Architecture and Design
Architecture and design approach
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Installation · Operation
Defence to apply across several lifecycle phases
Detail
Installation · Operation
Defence to apply across several lifecycle phases
System Configuration
Secure configuration approach
Detail
System Configuration
Secure configuration approach
Verification