Live threats

All CVEs / Apache

CVE-2017-9802Apache Sling Servlets Post

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sling Servlets Post.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachesling_servlets_post≤ 2.3.20

Official sources

References

Links published by the sources. Open them with care.