This issue is a time-based SQL Injection, a technique where an attacker sends a query that forces the database to wait for a specific amount of time before responding, allowing the attacker to infer information based on the response delay. The flaw exists due to insufficient escaping of user-supplied parameters and a lack of preparation in the SQL query. Authenticated attackers with author-level access or higher can inject additional SQL queries via the `album id` shortcode attribute. By storing a payload within a published post's shortcode, the attack executes when any visitor renders the post. The unsanitized value appears on both sides of a UNION query, which may double the observable time-based delay, enabling the extraction of sensitive information from the database.