{"id":74175,"date":"2025-09-11T16:46:19","date_gmt":"2025-09-11T16:46:19","guid":{"rendered":""},"modified":"2025-10-16T05:54:16","modified_gmt":"2025-10-16T11:54:16","slug":"cve-2025-58361-xss-vulnerability-in-promptcraft-forge-studio-via-non-exhaustive-url-scheme-check","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-58361-xss-vulnerability-in-promptcraft-forge-studio-via-non-exhaustive-url-scheme-check\/","title":{"rendered":"<strong>CVE-2025-58361: XSS Vulnerability in Promptcraft Forge Studio via Non-Exhaustive URL Scheme Check<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>This blog post explores a significant vulnerability discovered in Promptcraft Forge Studio, an essential tool for developing and maintaining LLM-powered applications. The vulnerability, identified as CVE-2025-58361, affects all versions of the software, potentially placing a wide range of systems and their data at risk. This vulnerability is particularly concerning because it allows attackers to bypass security measures using user-controlled <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53740-unauthorized-code-execution-vulnerability-in-microsoft-office\/\"  data-wpil-monitor-id=\"81722\">URLs<\/a> to execute arbitrary scripts, leading to system compromise or data leakage.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-58361<br \/>\nSeverity: Critical (9.3\/10)<br \/>\nAttack Vector: Web-based (XSS)<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-22404-potential-system-compromise-due-to-use-after-free-vulnerability\/\"  data-wpil-monitor-id=\"85630\">System compromise<\/a> or data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-363146589\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p><a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-58353-critical-vulnerability-in-promptcraft-forge-studio-due-to-regex-blacklist-sanitization\/\"  data-wpil-monitor-id=\"88642\">Promptcraft Forge Studio<\/a> | All versions<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit leverages a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32486-high-risk-weak-password-recovery-mechanism-vulnerability-in-hossein-material-dashboard\/\"  data-wpil-monitor-id=\"89150\">weakness in Promptcraft Forge Studio&#8217;s URL scheme check mechanism<\/a>. This mechanism, located in src\/utils\/validation.ts, only strips &#8216;javascript:&#8217; and a few patterns, while `data:` URLs (such as data:image\/svg+xml,\u2026) are allowed to pass. This oversight allows an attacker to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43884-command-injection-vulnerability-in-dell-powerprotect-data-manager\/\"  data-wpil-monitor-id=\"90043\">inject<\/a> malicious scripts via these unchecked `data:` URLs. When these manipulated URLs are used in href\/src, the attacker&#8217;s script gets executed, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-8067-udisks-daemon-vulnerability-leading-to-potential-system-compromise-or-data-leakage\/\"  data-wpil-monitor-id=\"85751\">compromising the system<\/a>.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-2820529952\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Below is a conceptual example of how the vulnerability might be exploited:<\/p>\n<pre><code class=\"\" data-line=\"\">GET \/vulnerableSite\/?url=data:text\/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4= HTTP\/1.1\nHost: target.example.com<\/code><\/pre>\n<p>In this example, the GET request includes a `data:` URL that contains a Base64-encoded script (`<script>alert('XSS')<\/script>`). If this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-8675-server-side-request-forgery-ssrf-vulnerability-in-drupal-ai-seo-link-advisor\/\"  data-wpil-monitor-id=\"81844\">request is processed by a system with the described vulnerability<\/a>, the script will be executed. This action can <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47174-heap-based-buffer-overflow-in-microsoft-office-excel-leading-to-unauthorized-code-execution\/\"  data-wpil-monitor-id=\"82023\">lead to unauthorized<\/a> access, data leakage, or even full system compromise.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>As of now, there is no official fix for this issue. Until a patch is released by the vendor, it is advisable to use a Web Application Firewall (WAF) or an Intrusion Detection System (IDS) as temporary mitigation. These tools can help identify and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-8418-arbitrary-plugin-installation-vulnerability-in-b-slider-gutenberg-slider-block-for-wp-plugin\/\"  data-wpil-monitor-id=\"82549\">block attempts to exploit this vulnerability<\/a>. Organizations are also advised to regularly update their systems and applications to the latest versions and maintain good <a href=\"https:\/\/www.ameeba.com\/blog\/introducing-the-ameeba-cybersecurity-group-chat\/\"  data-wpil-monitor-id=\"88532\">cybersecurity<\/a> hygiene to reduce the risk of successful attacks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview This blog post explores a significant vulnerability discovered in Promptcraft Forge Studio, an essential tool for developing and maintaining LLM-powered applications. The vulnerability, identified as CVE-2025-58361, affects all versions of the software, potentially placing a wide range of systems and their data at risk. This vulnerability is particularly concerning because it allows attackers to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[81],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-74175","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-xss"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/74175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=74175"}],"version-history":[{"count":10,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/74175\/revisions"}],"predecessor-version":[{"id":82923,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/74175\/revisions\/82923"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=74175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=74175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=74175"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=74175"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=74175"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=74175"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=74175"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=74175"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=74175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}