CVE-2017-9802Apache Sling Servlets Post
Medium 6.1 No auth needed
Follow: this CVE · Apache · Apache Sling Servlets Post We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 3.7% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Aug 14, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript 'eval' function to parse input strings, which allows for XSS attacks by passing specially crafted input strings.
What to do
- Apply the vendor's security update for Sling Servlets Post.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.sling:org.apache.sling.servlets.post |
< 2.3.22 |
2.3.22 |
— |
Per OSV / GitHub Advisories (GHSA-8c82-9rgp-4qvr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | sling_servlets_post | ≤ 2.3.20 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com
- www.securityfocus.com
- www.securityfocus.com Third Party Advisory VDB Entry
- issues.apache.org Issue Tracking Vendor Advisory
- lists.apache.org