CVE-2024-4867 Cross-Site Scripting via Developer Portal in WSO2 API Manager Enables UI Modification and Information Retrieval
Attackers can inject scripts into the WSO2 API Manager developer portal to modify UI or retrieve browser information, though session hijacking is prevented.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-4867?
CVE-2024-4867 is a medium-severity cross-site scripting vulnerability in Wso2 Api Manager, published on 16 Apr 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The WSO2 API Manager developer portal accepts user-supplied input without enforcing expected validation constraints or proper output encoding. This deficiency allows a malicious actor to inject script content that is executed within the context of a user's browser.
By leveraging this cross-site scripting vulnerability, a malicious actor can cause the browser to redirect to a malicious website, make changes to the UI of the web page, or retrieve information from the browser. However, session hijacking is not possible as all session-related sensitive cookies are protected by the httpOnly flag.
Weakness: CWE-79
Which versions are affected by CVE-2024-4867?
It affects 1 product.
Products include Wso2 Api Manager.
How do I fix CVE-2024-4867?
No fix has been published for CVE-2024-4867 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-4867 being exploited?
There is no known exploitation of CVE-2024-4867 in the wild and no public exploit code.
Other vulnerabilities in Wso2 Api Manager
- CVE-2022-29464 WSO2 Multiple Products Unrestrictive Upload of File
- CVE-2024-6914 Incorrect Authorization in Multiple WSO2 Products via Account Recovery SOAP Admin Service Leading to Account Takeover
- CVE-2020-13226 WSO2 API Manager vulnerable to SSRF
- CVE-2025-2905 An XML External Entity (XXE) vulnerability in Multiple WSO2 Products
- CVE-2021-42646 XML external entity in n/a
Sources
Also known as GHSA-2xxp-g6g6-xch7.