{"items":[{"id":"NVI-00003209","kind":"vulnerability","title":"PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via JavaScript hyperlinks","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-r8w8-74ww-j4wh","CVE-2024-45292"],"plain_summary":"OSV carries this publisher advisory for phpoffice/phpspreadsheet, phpoffice/phpspreadsheet, phpoffice/phpspreadsheet, phpoffice/phpexcel. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.3.0 for phpoffice/phpspreadsheet. Confirm the publisher’s latest guidance.","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 1.29.2 for phpoffice/phpspreadsheet. Confirm the publisher’s latest guidance.","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 2.1.1 for phpoffice/phpspreadsheet. Confirm the publisher’s latest guidance.","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-ca152f9d9bf04aa1c1e85c2f3a71b006"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-17T07:53:57.900Z","value":"5.4 MEDIUM (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-ca152f9d9bf04aa1c1e85c2f3a71b006"},{"kind":"CVSS","as_of":"2026-06-17T07:53:57.900Z","value":"5.4 MEDIUM (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-ca152f9d9bf04aa1c1e85c2f3a71b006"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-367076ee85bc305dc933e7094b1de989","url":"https://github.com/advisories/GHSA-r8w8-74ww-j4wh","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-r8w8-74ww-j4wh","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.360Z"},{"id":"sr-ca152f9d9bf04aa1c1e85c2f3a71b006","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45292","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2024-45292","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T00:59:36.384Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"technology":"phpoffice/phpspreadsheet","known_exclusions":[],"conditions_summary":"### Summary\n`\\PhpOffice\\PhpSpreadsheet\\Writer\\Html` does not sanitize \"javascript:\" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability.\n\n### PoC\n\nExample target script:\n\n```\nload(__DIR__ . '/book.xlsx');\n\n$writer = new \\PhpOffice\\PhpSpreadsheet\\Writer\\Html($spreadsheet);\nprint($writer->generateHTMLAll());\n```\n\nSave this file in the same directory:\nbook.xlsx\n\nOpen index.php in a web browser and click on both links. The first demonstrates the vulnerability in a regular hyperlink and the second in a HYPERLINK() formula.","public_affected_ranges":["ECOSYSTEM: introduced 2.2.0; fixed 2.3.0"]},{"certainty":"source_listed","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"technology":"phpoffice/phpspreadsheet","known_exclusions":[],"conditions_summary":"### Summary\n`\\PhpOffice\\PhpSpreadsheet\\Writer\\Html` does not sanitize \"javascript:\" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability.\n\n### PoC\n\nExample target script:\n\n```\nload(__DIR__ . '/book.xlsx');\n\n$writer = new \\PhpOffice\\PhpSpreadsheet\\Writer\\Html($spreadsheet);\nprint($writer->generateHTMLAll());\n```\n\nSave this file in the same directory:\nbook.xlsx\n\nOpen index.php in a web browser and click on both links. The first demonstrates the vulnerability in a regular hyperlink and the second in a HYPERLINK() formula.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.29.2"]},{"certainty":"source_listed","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"technology":"phpoffice/phpspreadsheet","known_exclusions":[],"conditions_summary":"### Summary\n`\\PhpOffice\\PhpSpreadsheet\\Writer\\Html` does not sanitize \"javascript:\" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability.\n\n### PoC\n\nExample target script:\n\n```\nload(__DIR__ . '/book.xlsx');\n\n$writer = new \\PhpOffice\\PhpSpreadsheet\\Writer\\Html($spreadsheet);\nprint($writer->generateHTMLAll());\n```\n\nSave this file in the same directory:\nbook.xlsx\n\nOpen index.php in a web browser and click on both links. The first demonstrates the vulnerability in a regular hyperlink and the second in a HYPERLINK() formula.","public_affected_ranges":["ECOSYSTEM: introduced 2.0.0; fixed 2.1.1"]},{"certainty":"source_listed","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"technology":"phpoffice/phpexcel","known_exclusions":[],"conditions_summary":"### Summary\n`\\PhpOffice\\PhpSpreadsheet\\Writer\\Html` does not sanitize \"javascript:\" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability.\n\n### PoC\n\nExample target script:\n\n```\nload(__DIR__ . '/book.xlsx');\n\n$writer = new \\PhpOffice\\PhpSpreadsheet\\Writer\\Html($spreadsheet);\nprint($writer->generateHTMLAll());\n```\n\nSave this file in the same directory:\nbook.xlsx\n\nOpen index.php in a web browser and click on both links. The first demonstrates the vulnerability in a regular hyperlink and the second in a HYPERLINK() formula.","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 1.8.2"]}],"null_published_at":"2026-11-07T22:29:23.427Z","source_updated_at":"2025-03-06T18:37:32.953Z","source_disclosed_at":"2024-10-07T15:58:25.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:41.360Z"},{"id":"NVI-00003209","kind":"vulnerability","title":"PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via JavaScript hyperlinks","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-r8w8-74ww-j4wh","CVE-2024-45292"],"plain_summary":"OSV carries this publisher advisory for phpoffice/phpspreadsheet, phpoffice/phpspreadsheet, phpoffice/phpspreadsheet, phpoffice/phpexcel. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.3.0 for phpoffice/phpspreadsheet. Confirm the publisher’s latest guidance.","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 1.29.2 for phpoffice/phpspreadsheet. Confirm the publisher’s latest guidance.","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 2.1.1 for phpoffice/phpspreadsheet. Confirm the publisher’s latest guidance.","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-367076ee85bc305dc933e7094b1de989","url":"https://github.com/advisories/GHSA-r8w8-74ww-j4wh","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-r8w8-74ww-j4wh","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.360Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"technology":"phpoffice/phpspreadsheet","known_exclusions":[],"conditions_summary":"### Summary\n`\\PhpOffice\\PhpSpreadsheet\\Writer\\Html` does not sanitize \"javascript:\" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability.\n\n### PoC\n\nExample target script:\n\n```\nload(__DIR__ . '/book.xlsx');\n\n$writer = new \\PhpOffice\\PhpSpreadsheet\\Writer\\Html($spreadsheet);\nprint($writer->generateHTMLAll());\n```\n\nSave this file in the same directory:\nbook.xlsx\n\nOpen index.php in a web browser and click on both links. The first demonstrates the vulnerability in a regular hyperlink and the second in a HYPERLINK() formula.","public_affected_ranges":["ECOSYSTEM: introduced 2.2.0; fixed 2.3.0"]},{"certainty":"source_listed","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"technology":"phpoffice/phpspreadsheet","known_exclusions":[],"conditions_summary":"### Summary\n`\\PhpOffice\\PhpSpreadsheet\\Writer\\Html` does not sanitize \"javascript:\" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability.\n\n### PoC\n\nExample target script:\n\n```\nload(__DIR__ . '/book.xlsx');\n\n$writer = new \\PhpOffice\\PhpSpreadsheet\\Writer\\Html($spreadsheet);\nprint($writer->generateHTMLAll());\n```\n\nSave this file in the same directory:\nbook.xlsx\n\nOpen index.php in a web browser and click on both links. The first demonstrates the vulnerability in a regular hyperlink and the second in a HYPERLINK() formula.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.29.2"]},{"certainty":"source_listed","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"technology":"phpoffice/phpspreadsheet","known_exclusions":[],"conditions_summary":"### Summary\n`\\PhpOffice\\PhpSpreadsheet\\Writer\\Html` does not sanitize \"javascript:\" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability.\n\n### PoC\n\nExample target script:\n\n```\nload(__DIR__ . '/book.xlsx');\n\n$writer = new \\PhpOffice\\PhpSpreadsheet\\Writer\\Html($spreadsheet);\nprint($writer->generateHTMLAll());\n```\n\nSave this file in the same directory:\nbook.xlsx\n\nOpen index.php in a web browser and click on both links. The first demonstrates the vulnerability in a regular hyperlink and the second in a HYPERLINK() formula.","public_affected_ranges":["ECOSYSTEM: introduced 2.0.0; fixed 2.1.1"]},{"certainty":"source_listed","source_ids":["sr-367076ee85bc305dc933e7094b1de989"],"technology":"phpoffice/phpexcel","known_exclusions":[],"conditions_summary":"### Summary\n`\\PhpOffice\\PhpSpreadsheet\\Writer\\Html` does not sanitize \"javascript:\" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability.\n\n### PoC\n\nExample target script:\n\n```\nload(__DIR__ . '/book.xlsx');\n\n$writer = new \\PhpOffice\\PhpSpreadsheet\\Writer\\Html($spreadsheet);\nprint($writer->generateHTMLAll());\n```\n\nSave this file in the same directory:\nbook.xlsx\n\nOpen index.php in a web browser and click on both links. The first demonstrates the vulnerability in a regular hyperlink and the second in a HYPERLINK() formula.","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 1.8.2"]}],"null_published_at":"2026-10-31T22:12:43.399Z","source_updated_at":"2025-03-06T18:37:32.953Z","source_disclosed_at":"2024-10-07T15:58:25.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:41.360Z"}],"next_cursor":null,"snapshot_revision":"42594"}