From 97414eb268d89398af77729365d46d2a0f1b6d30 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2025 17:22:56 +0000 Subject: [PATCH] Publish Advisories GHSA-g9wf-5777-gq43 GHSA-r57h-547h-w24f --- .../02/GHSA-g9wf-5777-gq43/GHSA-g9wf-5777-gq43.json | 8 ++++++-- .../02/GHSA-r57h-547h-w24f/GHSA-r57h-547h-w24f.json | 10 +++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/advisories/github-reviewed/2025/02/GHSA-g9wf-5777-gq43/GHSA-g9wf-5777-gq43.json b/advisories/github-reviewed/2025/02/GHSA-g9wf-5777-gq43/GHSA-g9wf-5777-gq43.json index 89f336243a3..29f81496f64 100644 --- a/advisories/github-reviewed/2025/02/GHSA-g9wf-5777-gq43/GHSA-g9wf-5777-gq43.json +++ b/advisories/github-reviewed/2025/02/GHSA-g9wf-5777-gq43/GHSA-g9wf-5777-gq43.json @@ -1,7 +1,7 @@ { "schema_version": "1.4.0", "id": "GHSA-g9wf-5777-gq43", - "modified": "2025-02-03T15:48:53Z", + "modified": "2025-02-04T17:21:50Z", "published": "2025-02-03T15:48:53Z", "aliases": [ "CVE-2025-24370" @@ -40,6 +40,10 @@ "type": "WEB", "url": "https://github.com/adamghill/django-unicorn/security/advisories/GHSA-g9wf-5777-gq43" }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24370" + }, { "type": "WEB", "url": "https://github.com/adamghill/django-unicorn/commit/17614200f27174f789d4af54cc3a1f2b0df7870c" @@ -60,6 +64,6 @@ "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2025-02-03T15:48:53Z", - "nvd_published_at": null + "nvd_published_at": "2025-02-03T21:15:15Z" } } \ No newline at end of file diff --git a/advisories/github-reviewed/2025/02/GHSA-r57h-547h-w24f/GHSA-r57h-547h-w24f.json b/advisories/github-reviewed/2025/02/GHSA-r57h-547h-w24f/GHSA-r57h-547h-w24f.json index 405862cf84a..a6e724b0827 100644 --- a/advisories/github-reviewed/2025/02/GHSA-r57h-547h-w24f/GHSA-r57h-547h-w24f.json +++ b/advisories/github-reviewed/2025/02/GHSA-r57h-547h-w24f/GHSA-r57h-547h-w24f.json @@ -1,13 +1,13 @@ { "schema_version": "1.4.0", "id": "GHSA-r57h-547h-w24f", - "modified": "2025-02-03T15:39:31Z", + "modified": "2025-02-04T17:22:14Z", "published": "2025-02-03T15:39:31Z", "aliases": [ "CVE-2025-23210" ], "summary": "PhpSpreadsheet allows bypassing of XSS sanitizer using the javascript protocol and special characters", - "details": "**Product:** PhpSpreadsheet\n**Version:** 3.8.0\n**CWE-ID:** CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\n**CVSS vector v.3.1:** 5.4 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)\n**CVSS vector v.4.0:** 4.8 (AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N)\n**Description:** an attacker can use special characters, so that the library processes the javascript protocol with special characters and generates an HTML link\n**Impact:** executing arbitrary JavaScript code in the browser\n**Vulnerable component:** class `PhpOffice\\PhpSpreadsheet\\Writer\\Html`, method `generateRow`\n**Exploitation conditions:** a user viewing a specially generated xml file\n**Mitigation:** additional sanitization of special characters in a string\n**Researcher: Igor Sak-Sakovskiy (Positive Technologies)**\n\n# Research\n\nThe researcher discovered zero-day vulnerability Bypass XSS sanitizer using the javascript protocol and special characters in Phpspreadsheet.\nThe following code is written on the server, which translates the XML file into an HTML representation and displays it in the response.\n\n*Listing 4. Source code on the server*\n\n```\nload($inputFileName); \n \n$writer = new \\PhpOffice\\PhpSpreadsheet\\Writer\\Html($spreadsheet); \nprint($writer->generateHTMLAll());\n```\nThe contents of the xml file - `./doc/file.xml`\n\n*Listing 5. The contents of the xml file*\n```\n \n \n \n \n author \n author \n 2015-06-05T18:19:34Z \n 2024-12-25T10:16:07Z \n 16.00 \n \n \n \n \n \n 11020 \n 19420 \n 32767 \n 32767 \n False \n False \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n
\n