CVE-2024-22048: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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.
AI Analysis
Technical Summary
CVE-2024-22048 is a cross-site scripting vulnerability in govuk_tech_docs affecting versions from 2.0.2 to before 3.3.1. The vulnerability arises from improper neutralization of input during web page generation, specifically in the search results page. An attacker can inject malicious JavaScript that executes in the context of the user's browser when viewing a manipulated search result. This can lead to limited confidentiality and integrity impacts but does not affect availability. The CVSS vector indicates the attack can be performed remotely with low attack complexity, no privileges required, but requires user interaction, and results in a scope change.
Potential Impact
Successful exploitation allows execution of arbitrary JavaScript in the victim's browser via malicious search results, potentially leading to information disclosure and modification of web page content within the affected application context. There is no impact on system availability. The vulnerability affects confidentiality and integrity to a limited extent.
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should exercise caution when interacting with search results and consider implementing input sanitization or output encoding workarounds if possible.
CVE-2024-22048: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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.
CVSS v3.1
Score 6.1medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-22048 is a cross-site scripting vulnerability in govuk_tech_docs affecting versions from 2.0.2 to before 3.3.1. The vulnerability arises from improper neutralization of input during web page generation, specifically in the search results page. An attacker can inject malicious JavaScript that executes in the context of the user's browser when viewing a manipulated search result. This can lead to limited confidentiality and integrity impacts but does not affect availability. The CVSS vector indicates the attack can be performed remotely with low attack complexity, no privileges required, but requires user interaction, and results in a scope change.
Potential Impact
Successful exploitation allows execution of arbitrary JavaScript in the victim's browser via malicious search results, potentially leading to information disclosure and modification of web page content within the affected application context. There is no impact on system availability. The vulnerability affects confidentiality and integrity to a limited extent.
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should exercise caution when interacting with search results and consider implementing input sanitization or output encoding workarounds if possible.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2024-01-04T18:44:53.107Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6840c579182aa0cae2c16ae8
Added to database: 06/04/2025, 22:15:21 UTC
Last enriched: 07/15/2026, 09:45:38 UTC
Last updated: 09/10/2026, 19:36:47 UTC
Views: 102
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.