From f2b56c310f378ccb445c4480589c07c7788e15da Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 11 Jun 2025 14:47:52 +0000 Subject: [PATCH] Publish GHSA-v33j-v3x4-42qg --- .../GHSA-v33j-v3x4-42qg.json | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 advisories/github-reviewed/2025/06/GHSA-v33j-v3x4-42qg/GHSA-v33j-v3x4-42qg.json diff --git a/advisories/github-reviewed/2025/06/GHSA-v33j-v3x4-42qg/GHSA-v33j-v3x4-42qg.json b/advisories/github-reviewed/2025/06/GHSA-v33j-v3x4-42qg/GHSA-v33j-v3x4-42qg.json new file mode 100644 index 00000000000..7f536004797 --- /dev/null +++ b/advisories/github-reviewed/2025/06/GHSA-v33j-v3x4-42qg/GHSA-v33j-v3x4-42qg.json @@ -0,0 +1,59 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-v33j-v3x4-42qg", + "modified": "2025-06-11T14:46:37Z", + "published": "2025-06-11T14:46:37Z", + "aliases": [], + "summary": "Regex literal in Hurl files are not escaped when exported to HTML, allowing injections", + "details": "Given this Hurl file:\n\nregex.hurl:\n\n```\nGET https://foo.com\nHTTP 200\n[Asserts]\njsonpath \"$.body\" matches //\n```\n\nWhen exported to HTML:\n\n```\n$ hurlfmt --out html regex.hurl\n
GET https://foo.com\nHTTP 200\n[Asserts]\njsonpath \"$.body\" matches //\n\n
\n```\n\nThe regex literal `//` is not escaped:\n\n`//`\n\nWhen opened in a browser, the code is run without user interaction:\n\n![regex](https://github.com/user-attachments/assets/9c20a2ff-900f-4420-b38b-1e7648749119)", + "severity": [], + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "hurl" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "7.0.0" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 6.1.1" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/Orange-OpenSource/hurl/security/advisories/GHSA-v33j-v3x4-42qg" + }, + { + "type": "WEB", + "url": "https://github.com/Orange-OpenSource/hurl/commit/248ac41cfa1797c52241c6ef756490d90027cdf2" + }, + { + "type": "WEB", + "url": "https://github.com/Orange-OpenSource/hurl/commit/7dcdbd1796785392b1e829d1f07c6687b9a8f27d" + }, + { + "type": "PACKAGE", + "url": "https://github.com/Orange-OpenSource/hurl" + } + ], + "database_specific": { + "cwe_ids": [], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-06-11T14:46:37Z", + "nvd_published_at": null + } +} \ No newline at end of file