Vulnerability · Published Jan 4, 2024 · Assigned by VulnCheck
CVE-2024-22048govuk_tech_docs XSS Vulnerability
Medium 6.1
In plain English
A medium-severity cross-site scripting in govuk_tech_docs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.5%top 56.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | govuk_tech_docs | 3.3.1 | GHSA-x2xw-hw8g-6773 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| govuk_tech_docs | 2.0.2 – before 3.3.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773 vendor-advisory
- https://github.com/alphagov/tech-docs-gem/pull/323 issue-tracking
- https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1 related
- https://github.com/advisories/GHSA-x2xw-hw8g-6773 vendor-advisory
- https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773 third-party-advisory