govuk_tech_docs versions from 2.0.2 to before 3.3.1 are vulnerable to a cross-site scripting vulnerability. Malicious JavaScript may be executed in the user's browser if a malicious search result is displayed on the search page.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Link | Tags |
---|---|
https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773 | vendor advisory |
https://github.com/alphagov/tech-docs-gem/pull/323 | patch vendor advisory |
https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1 | patch related release notes |
https://github.com/advisories/GHSA-x2xw-hw8g-6773 | patch vendor advisory third party advisory |
https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773 | third party advisory patch |