# CVE-2022-1291: XSS vulnerability with default `onCellHtmlData` function in hhurz/tableexport.jquery.plugin

- Severity: High 7.6 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-10T19:15:17.000Z
- Modified: 2026-06-17T04:22:09.767Z
- Also known as: GHSA-j636-crp3-m584
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

XSS vulnerability with default `onCellHtmlData` function in GitHub repository hhurz/tableexport.jquery.plugin prior to 1.25.0. Transmitting cookies to third-party servers. Sending data from secure sessions to third-party servers

(As written by CVE List.)

## Affected

- hhurz hhurz/tableexport.jquery.plugin: from unspecified before 1.25.0
- tableexport.jquery.plugin (npm): before 1.25.0
- tableexport.jquery.plugin_project tableexport.jquery.plugin: before 1.25.0

## Every score

- @huntrdev: CVSS:3.0 7.6 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/49a14371-6058-47dd-9801-ec38a7459fc5> (exploit, third-party-advisory, web)
- <https://github.com/hhurz/tableexport.jquery.plugin/commit/dcbaee23cf98328397a153e71556f75202988ec9> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1291> (advisory)
- <https://github.com/hhurz/tableexport.jquery.plugin> (package)

## Sources

- CVE List: [CVE-2022-1291](https://www.cve.org/CVERecord?id=CVE-2022-1291), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-j636-crp3-m584](https://github.com/advisories/GHSA-j636-crp3-m584), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-1291](https://nvd.nist.gov/vuln/detail/CVE-2022-1291), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1291 · Whole record: https://cve.day/CVE-2022-1291.json · Rebuilt by cve.day 2026-11-25T22:58:10.484Z
