Cross-site Scripting in tableexport.jquery.plugin
The default onCellHtmlData function in tableexport.jquery.plugin before version 1.25.0 does not properly sanitise HTML data, leading to a cross-site scripting vulnerability. An attacker could exploit this to transmit cookies or secure session data to third-party servers.
hhurz/tableexport.jquery.plugin
Originally disclosed on huntr
There is a cross-site scripting vulnerability with default onCellHtmlData function in GitHub repository hhurz/tableexport.jquery.plugin prior to 1.25.0. This can result in transmitting cookies to third-party servers and/or sending data from secure sessions to third-party servers.
From the GitHub Advisory Database (GHSA-j636-crp3-m584, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the default onCellHtmlData function fails to sanitise HTML content, allowing script injection.
Impact
This could result in transmitting cookies to third-party servers and/or sending data from secure sessions to third-party servers.
What the attacker needed
Victim uses vulnerable plugin version; attacker can inject HTML into table data
The fix
The vulnerability was fixed in version 1.25.0.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This plugin helps export HTML tables to other formats. A function that handles cell data did not clean up dangerous HTML, so an attacker could insert malicious code that runs in a victim's browser. That code could then steal cookies or send private data to an attacker's server.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.