# GHSA-2hwp-g4g7-mwwj: Reflected Cross-Site Scripting in jquery.terminal

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-05-29T20:25:35.000Z
- Modified: 2020-08-31T18:35:05.000Z
- Weaknesses: CWE-79

## Description

Versions of `jquery.terminal` prior to 1.21.0 are vulnerable to Reflected Cross-Site Scripting. If the application has either of the options `anyLinks` or `invokeMethods` set to true, the application may execute arbitrary JavaScript through crafted malicious payloads due to insufficient sanitization.


## Recommendation

Upgrade to version 1.21.0 or later

(As written by GitHub Advisory Database.)

## Affected

- jquery.terminal (npm): before 1.21.0

## References

- <https://github.com/jcubic/jquery.terminal/commit/c8b7727d21960031b62a4ef1ed52f3c634046211> (web)
- <https://www.npmjs.com/advisories/769> (web)

## Sources

- GitHub Advisory Database: [GHSA-2hwp-g4g7-mwwj](https://github.com/advisories/GHSA-2hwp-g4g7-mwwj), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-2hwp-g4g7-mwwj · Whole record: https://cve.day/GHSA-2hwp-g4g7-mwwj.json · Rebuilt by cve.day 2026-11-25T22:56:43.623Z
