CVE-2022-27166
MediumApache JSPWiki XSS due to crafted request on XHRHtml2Markup.jsp
Published Aug 5, 2022 · Updated Sep 18, 2026 · Also known as GHSA-2fxf-qj94-3f83
Key Facts
Patch immediately- CVE-2022-27166 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Jspwiki (Apache), org.apache.jspwiki:jspwiki-main (maven).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 86% probability of exploitation in the next 30 days.
- Fixed versions are available, including Jspwiki 2.11.3, org.apache.jspwiki:jspwiki-main 2.11.3.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
86%
Higher than 99.7% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2022-27166 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
A carefully crafted request on XHRHtml2Markup.jsp could trigger an XSS vulnerability on Apache JSPWiki up to and including 2.11.2, which could allow the attacker to execute javascript in the victim's browser and get some sensitive information about the victim.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| JspwikiApache | >= Apache JSPWiki | 2.11.3 |
| org.apache.jspwiki:jspwiki-mainmaven | See advisory | 2.11.3 |
Patched Releases
Jspwiki
2.11.3
org.apache.jspwiki:jspwiki-main
2.11.3
Timeline
Publicly disclosed
Aug 5, 2022
Last updated
Sep 18, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- advisoryhttp://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43980
- advisoryhttps://exchange.xforce.ibmcloud.com/vulnerabilities/237447
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27166.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-27166
FAQ
Common Questions.
A carefully crafted request on XHRHtml2Markup.jsp could trigger an XSS vulnerability on Apache JSPWiki up to and including 2.11.2, which could allow the attacker to execute javascript in the victim's browser and get some sensitive information about the victim.
Affected: Jspwiki (Apache) versions >= Apache JSPWiki; org.apache.jspwiki:jspwiki-main (maven). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Jspwiki 2.11.3, org.apache.jspwiki:jspwiki-main 2.11.3.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-27166 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo