{"id":{"repo_id":"vilnius","oai_identifier":"oai:vu.lt:elaba:210644775"},"canonical_url":"https://search.ndltd.org/etd/vilnius/oai:vu.lt:elaba:210644775","repository":{"repo_id":"vilnius","name":"Vilnius University","base_url":"https://epublications.vu.lt/oai"},"display":{"title":"Įterptinių komandų atakų generavimas naudojant didžiuosius kalbos modelius interneto technologijų saugumo kontekste /","abstract":"Cross-­Site Scripting (XSS) vulnerabilities are becoming a more common method of attacking web applications due to their relative simplicity and considerably severe effects when successfully executed. To properly defend against the immense number of XSS attack variations, ethical security specialists may benefit from dynamically generated XSS strings for use in security testing on applications they are protecting. This research explores the capabilities of Large Language Models to generate XSS attack strings, analyzes different methods and techniques of exploiting XSS vulnerabilities. Two LLM models ­- Code Llama and Llama 3 are fine­-tuned using a dataset, containing different examples of JavaScript code, used for XSS attacks. After proving the existence of a vulnerability in an ethical hacking training site, same vulnerability is attacked by LLM-generated strings using Burp Suite penetration testing tool. Results show that while the majority of Llama 3 generated XSS strings does not exploit the vulnerability, Code Llama shows much more promising results, successfully exploiting aforementioned vulnerability.","abstract_html":"Cross-­Site Scripting (XSS) vulnerabilities are becoming a more common method of attacking web applications due to their relative simplicity and considerably severe effects when successfully executed. To properly defend against the immense number of XSS attack variations, ethical security specialists may benefit from dynamically generated XSS strings for use in security testing on applications they are protecting. This research explores the capabilities of Large Language Models to generate XSS attack strings, analyzes different methods and techniques of exploiting XSS vulnerabilities. Two LLM models ­- Code Llama and Llama 3 are fine­-tuned using a dataset, containing different examples of JavaScript code, used for XSS attacks. After proving the existence of a vulnerability in an ethical hacking training site, same vulnerability is attacked by LLM-generated strings using Burp Suite penetration testing tool. Results show that while the majority of Llama 3 generated XSS strings does not exploit the vulnerability, Code Llama shows much more promising results, successfully exploiting aforementioned vulnerability.","abstract_has_math":false,"creators":["Anikanovas, Martynas,"],"institution":"Institutional Repository of Vilnius University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2024,"date_issued":"2024","date_published":"2024","updated_at":"2026-11-19T10:09:54Z","subjects":[],"languages":["lit"],"rights":["info:eu-repo/semantics/openAccess"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.vu.lt/VU:ELABAETD210644775&prefLang=en_US","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.vu.lt/VU:ELABAETD210644775&prefLang=en_US","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":"open","embargo_until":null,"access_note":null},"source_record":{"url":"https://epublications.vu.lt/oai?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Avu.lt%3Aelaba%3A210644775","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Anikanovas, Martynas,"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2024"]},{"key":"dc:publisher","label":"Institution","values":["Institutional Repository of Vilnius University"]},{"key":"dc:relation","label":"Dc Relation","values":["https://epublications.vu.lt/object/elaba:210644775/210644775.pdf"]},{"key":"dc:type","label":"Dc Type","values":["info:eu-repo/semantics/bachelorThesis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["lit"]},{"key":"dc:rights","label":"Dc Rights","values":["info:eu-repo/semantics/openAccess"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://repository.vu.lt/VU:ELABAETD210644775&prefLang=en_US"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Cross-­Site Scripting (XSS) vulnerabilities are becoming a more common method of attacking web applications due to their relative simplicity and considerably severe effects when successfully executed. To properly defend against the immense number of XSS attack variations, ethical security specialists may benefit from dynamically generated XSS strings for use in security testing on applications they are protecting. This research explores the capabilities of Large Language Models to generate XSS attack strings, analyzes different methods and techniques of exploiting XSS vulnerabilities. Two LLM models ­- Code Llama and Llama 3 are fine­-tuned using a dataset, containing different examples of JavaScript code, used for XSS attacks. After proving the existence of a vulnerability in an ethical hacking training site, same vulnerability is attacked by LLM-generated strings using Burp Suite penetration testing tool. Results show that while the majority of Llama 3 generated XSS strings does not exploit the vulnerability, Code Llama shows much more promising results, successfully exploiting aforementioned vulnerability."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Įterptinių komandų atakų generavimas naudojant didžiuosius kalbos modelius interneto technologijų saugumo kontekste /","Cross-Site scripting payload generation using large language models in web security."]}]}],"canonical_facts":{"dc:creator":["Anikanovas, Martynas,"],"dc:date":["2024"],"dc:description":["Cross-­Site Scripting (XSS) vulnerabilities are becoming a more common method of attacking web applications due to their relative simplicity and considerably severe effects when successfully executed. To properly defend against the immense number of XSS attack variations, ethical security specialists may benefit from dynamically generated XSS strings for use in security testing on applications they are protecting. This research explores the capabilities of Large Language Models to generate XSS attack strings, analyzes different methods and techniques of exploiting XSS vulnerabilities. Two LLM models ­- Code Llama and Llama 3 are fine­-tuned using a dataset, containing different examples of JavaScript code, used for XSS attacks. After proving the existence of a vulnerability in an ethical hacking training site, same vulnerability is attacked by LLM-generated strings using Burp Suite penetration testing tool. Results show that while the majority of Llama 3 generated XSS strings does not exploit the vulnerability, Code Llama shows much more promising results, successfully exploiting aforementioned vulnerability."],"dc:format":["application/pdf"],"dc:identifier":["https://repository.vu.lt/VU:ELABAETD210644775&prefLang=en_US"],"dc:language":["lit"],"dc:publisher":["Institutional Repository of Vilnius University"],"dc:relation":["https://epublications.vu.lt/object/elaba:210644775/210644775.pdf"],"dc:rights":["info:eu-repo/semantics/openAccess"],"dc:title":["Įterptinių komandų atakų generavimas naudojant didžiuosius kalbos modelius interneto technologijų saugumo kontekste /","Cross-Site scripting payload generation using large language models in web security."],"dc:type":["info:eu-repo/semantics/bachelorThesis"]},"updated_at":"2026-11-19T10:09:54Z"}