Net::WoRMS versions before 1.901 for Perl contain an SQL injection vulnerability via SOAP response fields in the SQL output of the printRecord function. The vulnerability arises because string escaping is done incorrectly, and certain numeric fields are written unquoted without validation. The default endpoint uses plain HTTP, allowing an attacker who controls the SOAP response or the network path to inject arbitrary SQL commands when the generated script is loaded into a database.